PortConnectionCollectionPortsStatus Enumeration — NXOpen Python API Reference 12.0.0 documentation

# PortConnectionCollectionPortsStatus Enumeration

NXOpen.Routing.PortConnectionCollection.PortsStatus is an alias for NXOpen.Routing.PortConnectionCollectionPortsStatus

class `NXOpen.Routing.``PortConnectionCollectionPortsStatus`

  Bases: `object`

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

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  CanConnect | The Ports can be connected using Port Connection object.
  CannotConnect | The Ports cannot be connected using Port Connection object.

  `ValueOf`()

    Returns enum member equivalent to the value passed. Useful for bit operations of enum members.

    Signature `ValueOf(value)`

    Parameters: | value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed.
    Return type: | Enum Member type.

    New in version NX9.0.1.

    License requirements: None.