Share

RebarFreeFormAccessor.GetHookOrientationAngle Method

This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.GetTerminationRotationAngle instead.

Get the termination's rotation angle at end. The angle is used for both hook and crank.


Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.3.0.0 (26.3.0.0)

Syntax

C#

[ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.GetTerminationRotationAngle instead.")]
public double GetHookOrientationAngle(
	int end
)

Parameters

end  Int32
The end of bar. Should be 0 for start or 1 for end.

Return Value

Double
The termination's rotation angle at end. The angle is used for both hook and crank.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException Invalid end.

See Also

Reference

Was this information helpful?