Get the hook orientation.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public RebarHookOrientation GetDefaultHookOrientation( int index )
Parameters
- index Int32
- 0 for the starting hook, 1 for the ending hook.
Return Value
RebarHookOrientationExceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | index must be 0 or 1. |