RebarUpdateCurvesData.SetHookPlaneNormalForBarIdx
Description:
Set the normal of plane in which the hook at end of bar with index barPositionIndex will stay. This information is set to the rebar after the API execution is finished successfully.
Set the normal of plane in which the hook at end of bar with index barPositionIndex will stay. This information is set to the rebar after the API execution is finished successfully.
Remarks:
This information is set to the rebar after the API execution is finished successfully. Before setting the value a validation will be done. We consider a hook plane normal valid if it isn't parallel with the bar direction at end.
This information is set to the rebar after the API execution is finished successfully. Before setting the value a validation will be done. We consider a hook plane normal valid if it isn't parallel with the bar direction at end.
public void SetHookPlaneNormalForBarIdx(
int end,
int barPositionIndex,
XYZ hookNormal
)
-
Int32endThe end of bar. Should be 0 for start or 1 for end.
-
Int32barPositionIndexIndex of the bar for which it will set hook plane normal.
-
hookNormalThe normal of plane in which the hook at end of bar with index barPositionIndex will stay.
-
A non-optional argument was NULL
-
Invalid end. -or- hookNormal has zero length.