Share

MEPAnalyticalModelData.GetSegmentById Method

Gets the analytical segment with the specified id.


Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public MEPAnalyticalSegment GetSegmentById(
	int segmentId
)

Parameters

segmentId  Int32
The segment id to be retrieved. This id is not 0 based.

Return Value

MEPAnalyticalSegment
The returned analytical segment.

Exceptions

ExceptionCondition
ArgumentException The input must be a valid segment id.

See Also

Reference

Was this information helpful?