Revit 2025.3 API
Rebar |
Create an angular constraint.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public RebarShapeConstraintAngleFromFixedDir( ElementId paramId, int sign, UV direction )
Public Sub New ( paramId As ElementId, sign As Integer, direction As UV )
public: RebarShapeConstraintAngleFromFixedDir( ElementId^ paramId, int sign, UV^ direction )
new : paramId : ElementId * sign : int * direction : UV -> RebarShapeConstraintAngleFromFixedDir
Parameters
| 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. |
See Also