FabricationPart.ConnectAndCouple
Description:
Makes a connection between the specified connectors and adds coupling if necessary.
Makes a connection between the specified connectors and adds coupling if necessary.
Remarks:
This function does not place and align the fabrication part. Call AlignPartByConnectors before connecting.
This function does not place and align the fabrication part. Call AlignPartByConnectors before connecting.
-
documentThe document.
-
connectorThe connector of the fabrication part.
-
toConnectorThe connector of the fabrication part or family to connect to.
Return Value
bool
True if connection succeeded, false otherwise.
-
The connector does not belong to a fabrication part. -or- The fabrication part connectors are not aligned, callAlignPartByConnectorsto align them.
-
A non-optional argument was null