RebarUpdateCurvesData.SetTerminationPlaneNormalForBarIdx
Description:
Sets the plane's normal in which the termination (e.g. hook, crank) at end of bar with index barPositionIndex will stay. This information is set to the rebar after the API execution is finished successfully.
Sets the plane's normal in which the termination (e.g. hook, crank) 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 termination's plane normal valid if it's perpendicular with the bar direction at end. This method does not take into account the rotation of the bar relative to its default position along the distribution path.
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 termination's plane normal valid if it's perpendicular with the bar direction at end. This method does not take into account the rotation of the bar relative to its default position along the distribution path.
public void SetTerminationPlaneNormalForBarIdx(
int end,
int barPositionIndex,
XYZ terminationPlaneNormal
)
-
Int32endThe end of bar. Should be 0 for start or 1 for end.
-
Int32barPositionIndexIndex of the bar for which it will set the termination plane normal.
-
terminationPlaneNormalThe plane's normal in which the termination (e.g. hook, crank) at end of bar with index barPositionIndex will stay.
-
A non-optional argument was null
-
Invalid end. -or- terminationPlaneNormal has zero length.