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.
-
docThe document.
-
straightIdId of the straight to be cut in.
-
fittingIdId of the fitting to cut in.
-
positionThe position to cut in the straight.
-
fittingConnThe 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 successfully.
-
For rectangular and oval parts the axis rotation must be a multiple of PI/2. -or- fittingConn is not a connector of the fitting. -or- fittingConn 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.