RebarShapeDefinitionBySegments.SetSegmentVariableDirection
Public Class
ArgumentException
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
iSegmentInt32
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.