Share

MEPAnalyticalModelData.GetSegmentByIndex Method

Gets the analytical segment at the specified position.


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

Syntax

C#

public MEPAnalyticalSegment GetSegmentByIndex(
	int index
)

Parameters

index  Int32
The index where the segment is stored. This index is 0 based.

Return Value

MEPAnalyticalSegment
The returned analytical segment.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException The index must range from 0 to GetNumberOfSegments()-1.

See Also

Reference

Was this information helpful?