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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →