PortConnectionCollection Class

class NXOpen.Routing.PortConnectionCollection

Bases: object

Represents a collection of NXOpen.Routing.PortConnection objects.

To obtain an instance of this class, refer to NXOpen.Routing.RouteManager

New in version NX4.0.0.

Methods

Method Description
CanPortsConnect Determines if the two ports can be connected using a Port Connection object.
CreatePortConnection Creates a NXOpen.Routing.PortConnection object.

Enumerations

PortConnectionCollectionPortsStatus Enumeration Option to check if two ports can be connected by creating a NXOpen.Routing.PortConnection object.

Method Detail

CanPortsConnect

PortConnectionCollection.CanPortsConnect

Determines if the two ports can be connected using a Port Connection object.

Signature CanPortsConnect(port1, port2)

Parameters:
Returns:

Return type:

NXOpen.Routing.PortConnectionCollectionPortsStatus

New in version NX4.0.0.

License requirements: routing_base (“Routing Basic”)

CreatePortConnection

PortConnectionCollection.CreatePortConnection

Creates a NXOpen.Routing.PortConnection object.

Signature CreatePortConnection(port1, port2)

Parameters:
Returns:

Return type:

NXOpen.Routing.PortConnection

New in version NX4.0.0.

License requirements: routing_base (“Routing Basic”)