Revit 2025.3 API
MEPSystemGet |
Get the section from the index.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.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