RebarFreeFormAccessor.SetHookOrientationAngle
Description:
Set the termination's rotation angle at end. The angle will be used for both hook and crank. Will throw exception if the rebar has valid constraints.
Set the termination's rotation angle at end. The angle will be used for both hook and crank. Will throw exception if the rebar has valid constraints.
[ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use Rebar.SetTerminationRotationAngle instead.")]
public void SetHookOrientationAngle(
int end,
double angle
)
-
Int32endThe end of bar. Should be 0 for start or 1 for end.
-
DoubleangleThe termination's rotation angle at end. The angle will be used for both hook and crank.
-
The given value for angle is not finite
-
Invalid end.