2026 Method
Changes 8
M

RebarFreeFormAccessor.SetHookPlaneNormalForBarIdx

Description:
Set the plane's normal in which the termination at end of bar with index barPositionIndex will stay. The plane's normal 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 RebarFreeFormAccessor.SetTerminationPlaneNormalForBarIndex instead.")]
public void SetHookPlaneNormalForBarIdx(
	int end,
	int barPositionIndex,
	XYZ terminationPlaneNormal
)
  • Int32
    end
    The end of bar. Should be 0 for start or 1 for end.
  • Int32
    barPositionIndex
    An index between 0 and (NumberOfBarPositions-1).
  • terminationPlaneNormal
    The plane's in which the termination at end of bar with index barPositionIndex will stay. The plane's normal will be used for both hook and crank. The normal should be perpendicular to the bar direction at the specified end of bar.