FabricationPart.AlignPartByConnectors
Description:
Moves fabrication part by one of its connectors and aligns it to another connector.
Moves fabrication part by one of its connectors and aligns it to another connector.
-
documentThe document.
-
connectorThe connector of the fabrication part to move and align by.
-
toConnectorThe connector of the fabrication part or family to align to.
-
DoubleaxisRotationRotation around the direction of connection - angle between width vectors in radians.
Return Value
bool
True if alignment succeeds, false otherwise.
-
For rectangular and oval parts the axis rotation must be a multiple of PI/2. -or- The connector does not belong to a fabrication part. -or- The fabrication part is connected.
-
A non-optional argument was null