<Code Lib>
2026 Method
Changes 8
M

RebarShape.GetDefaultHookOrientation

Description:
Gets the termination's orientation. The orientation it's the same for both hook and crank.
Remarks:
Replaces the method GetHookOrientation() from prior releases.

[ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarShape.GetTerminationsData().TerminationOrientationAtStart or RebarShape.GetTerminationsData().TerminationOrientationAtEnd instead.")]
public RebarHookOrientation GetDefaultHookOrientation(
	int end
)

  • Int32
    end
    0 for the termination at start, 1 for the termination at end.
Return Value RebarHookOrientation Returns the termination's orientation. The orientation it's the same for both hook and crank.

Loading…