Create an angular constraint.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public RebarShapeConstraintAngleFromFixedDir( ElementId paramId, int sign, UV direction )
Parameters
- paramId ElementId
- A Rebar Shape parameter of type UT_Angle.
- sign Int32
- The sign of the angle relative to the direction.
- direction UV
- A fixed direction in UV-space.
Exceptions
Exception | Condition |
---|---|
ArgumentException | sign is not 1 or -1. -or- paramId is not a valid Element identifier. |
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | direction has zero length. |