Set the hook orientation angle at end. Will throw exception if the rebar has valid constraints.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public void SetHookOrientationAngle( int end, double angle )
Parameters
- end Int32
- The end of bar. Should be 0 for start or 1 for end.
- angle Double
- The hook orientation angle at end.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Invalid end. |
InvalidOperationException | This RebarFreeFormAccessor Rebar is constrained. |