GetSegment Method


MEPAnalytical Segment Get Segment Method

Gets the analytical segment from the Subelement

Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public static MEPAnalyticalSegment GetSegment(
	Subelement subElem
)

Parameters

subElem Subelement
The subelement of the analytical segment.

Return Value

MEPAnalyticalSegment
Exceptions
Exception Condition
ArgumentException The subelement must be a valid analytical segment subelement.
ArgumentNullException A non-optional argument was null
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →