SetSegmentVariableDirection Method


Rebar Shape Definition By Segments Set Segment Variable Direction Method

Remove the fixed direction from a segment.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetSegmentVariableDirection(
	int iSegment
)

Parameters

iSegment Int32
Index of the segment (0 to NumberOfSegments - 1).
Exceptions
Exception Condition
ArgumentException iSegment is not between 0 and NumberOfSegments.
Remarks
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
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →