FabricationPart.PlaceFittingAsCutIn
Description:
Places the fitting on the straight part by cut in, use the fitting's focal point as the insertion position.
Places the fitting on the straight part by cut in, use the fitting's focal point as the insertion position.
-
documentThe document.
-
straightIdIdentifier of the straight to be cut in.
-
fittingIdIdentifier of the fitting to cut in.
-
positionThe position to cut in the straight.
-
fittingConnectorThe connector of the fitting to align with the primary connector of the straight part.
-
DoubleaxisRotationRotation around the direction of connection - angle between width vectors in radians.
Return Value
bool
True if cuts in successful.
-
For rectangular and oval parts the axis rotation must be a multiple of PI/2. -or- The fitting connector is not a connector of the fitting. -or- The fitting connector is not valid, it is not within a pair connector for cutting in.
-
A non-optional argument was null
-
Failed to align fitting to the straight to cut in. -or- There is no enough room in the run for cut in.