Retrieves all curves for the Analytical Model of a given type.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2011
 Syntax
Syntax
| C# | 
|---|
| public IList<Curve> GetCurves( AnalyticalCurveType curveType ) | 
| Visual Basic | 
|---|
| Public Function GetCurves ( _ curveType As AnalyticalCurveType _ ) As IList(Of Curve) | 
| Visual C++ | 
|---|
| public: IList<Curve^>^ GetCurves( AnalyticalCurveType curveType ) | 
Parameters
- curveType
- Type: Autodesk.Revit.DB.Structure..::..AnalyticalCurveType
 Which curve type should be returned.
Return Value
An array of curves representing analytical model. Remarks
Remarks
   If the analytical model contains no curves of the given type, then the returned array may be empty.
 Exceptions
Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration | 





