RVTDocs.com

RebarShapeDefinitionBySegments.GetSegment

Method
Description:
Return a reference to one of the segments in the definition.
Syntax
public RebarShapeSegment GetSegment(
	int segmentIndex
)
Parameters
Parameter Type Description
segmentIndex Int32 Index of the segment (0 to NumberOfSegments - 1).
Return Value
Type Description
RebarShapeSegment The requested segment.
Exceptions
Exception Condition
ArgumentException segmentIndex is not between 0 and NumberOfSegments.