Revit 2026 API
MEPSystemGet |
Get the section from the index.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public MEPSection GetSectionByIndex( int index )
Public Function GetSectionByIndex ( index As Integer ) As MEPSection
public: MEPSection^ GetSectionByIndex( int index )
member GetSectionByIndex : index : int -> MEPSection
Parameters
- index Int32
- The index of the section in the system.
Return Value
MEPSectionThe section.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The section index is out of range. |
See Also