Share

RebarShapeDefinitionBySegments.GetSegment Method

Return a reference to one of the segments in the definition.


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

Syntax

C#

public RebarShapeSegment GetSegment(
	int segmentIndex
)

Parameters

segmentIndex  Int32
Index of the segment (0 to NumberOfSegments - 1).

Return Value

RebarShapeSegment
The requested segment.

Exceptions

ExceptionCondition
ArgumentException segmentIndex is not between 0 and NumberOfSegments.

See Also

Reference

Was this information helpful?