Revit 2026 API
MEPSystemGet |
Get the Section from section number
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public MEPSection GetSectionByNumber( int sectionNumber )
Public Function GetSectionByNumber ( sectionNumber As Integer ) As MEPSection
public: MEPSection^ GetSectionByNumber( int sectionNumber )
member GetSectionByNumber : sectionNumber : int -> MEPSection
Parameters
- sectionNumber Int32
- The Section number.
Return Value
MEPSectionThe section. if the no section exists for the input section number.
See Also