SetHookOrientationAngle Method


Rebar Free Form Accessor Set Hook Orientation Angle Method

Set the hook orientation angle at end. Will throw exception if the rebar has valid constraints.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetHookOrientationAngle(
	int end,
	double angle
)

Parameters

end Int32
The end of bar. Should be 0 for start or 1 for end.
angle Double
The hook orientation angle at end.
Exceptions
Exception Condition
ArgumentOutOfRangeException Invalid end.
InvalidOperationException This RebarFreeFormAccessor Rebar is constrained.
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 →