GetHookRotationAngle Method


Gets the out of plane hook rotation angle at the specified end.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2021

Syntax

C#
public double GetHookRotationAngle(
	int iEnd
)
Visual Basic
Public Function GetHookRotationAngle ( _
	iEnd As Integer _
) As Double
Visual C++
public:
double GetHookRotationAngle(
	int iEnd
)

Parameters

iEnd
Type: System Int32
0 for the start , 1 for the end.

Return Value

Returns the out of plane hook rotation angle at the specified end.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException iEnd must be 0 or 1.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →