SetHookRotationAngle Method


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

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

Syntax

C#
public void SetHookRotationAngle(
	double hookRotationAngle,
	int iEnd
)
Visual Basic
Public Sub SetHookRotationAngle ( _
	hookRotationAngle As Double, _
	iEnd As Integer _
)
Visual C++
public:
void SetHookRotationAngle(
	double hookRotationAngle, 
	int iEnd
)

Parameters

hookRotationAngle
Type: SystemDouble
The out of plane hook rotation angle at the specified end.
iEnd
Type: SystemInt32
0 for the start , 1 for the end.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException 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 →