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