MajorSegmentIndex Property


Rebar Shape Definition By Segments Major Segment Index Property

Index of a segment that can be considered the most important. Revit attempts to preserve the orientation of this segment when a Rebar instance changes its RebarShape to one with a different number of segments.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public int MajorSegmentIndex { get; set; }

Property Value

Int32
Exceptions
Exception Condition
ArgumentException When setting this property: majorSegmentIndex is not between 0 and NumberOfSegments.
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 →