RebarFreeFormAccessor.GetHookPlaneNormalForBarIdx
Description:
Returns the plane's normal in which the termination (e.g. hook, crank) at end of bar with index barPositionIndex will stay. The plane's normal is used for both hook and crank.
Returns the plane's normal in which the termination (e.g. hook, crank) at end of bar with index barPositionIndex will stay. The plane's normal is used for both hook and crank.
[ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Please use RebarFreeFormAccessor.GetTerminationPlaneNormalForBarIndex instead.")]
public XYZ GetHookPlaneNormalForBarIdx(
int end,
int barPositionIndex
)
-
Int32endThe end of bar. Should be 0 for start or 1 for end.
-
Int32barPositionIndexAn index between 0 and (NumberOfBarPositions-1).
Return Value
XYZ
The plane's normal in which the termination (e.g. hook, crank) at end of bar with index barPositionIndex will stay.
The plane's normal is used for both hook and crank.
-
barPositionIndex is not in the range [ 0, NumberOfBarPositions-1 ]. -or- Invalid end.