ControlPortCollection Class — NXOpen Python API Reference 12.0.0 documentation

# ControlPortCollection Class

class `NXOpen.Motion.``ControlPortCollection`

  Bases: `object`

  Represents a collection of Control Port objects

  To obtain an instance of this class, refer to `NXOpen.Motion.ControlInput`

  New in version NX11.0.0.

# Methods

Method | Description
--- | ---
FindObject | Finds the `NXOpen.Motion.ControlPort` with the given name.

# Method Detail

## FindObject

`ControlPortCollection.``FindObject`

  Finds the `NXOpen.Motion.ControlPort` with the given name.

  An exception will be thrown if no object can be found with given name.

  Signature `FindObject(name)`

  Parameters: | name (str) – The name of the `NXOpen.Motion.ControlPort`.
  Returns: | `NXOpen.Motion.ControlPort` with this name.
  Return type: | `NXOpen.Motion.ControlPort`

  New in version NX11.0.0.

  License requirements: mechanisms (“MECHANISMS”)