Revit 2026 API
Rebar |
Remove the fixed direction from a segment.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void SetSegmentVariableDirection( int iSegment )
Public Sub SetSegmentVariableDirection ( iSegment As Integer )
public: void SetSegmentVariableDirection( int iSegment )
member SetSegmentVariableDirection : iSegment : int -> unit
Parameters
- iSegment Int32
- Index of the segment (0 to NumberOfSegments - 1).
| Exception | Condition |
|---|---|
| ArgumentException | iSegment is not between 0 and NumberOfSegments. |
The segment's angle will be allowed to vary, with a range of 90 degrees. The segment must have at least two constraints.
See Also