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 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 →