ElectricalPartCollection Class — NXOpen Python API Reference 12.0.0 documentation

# ElectricalPartCollection Class

class `NXOpen.Mechatronics.``ElectricalPartCollection`

  Bases: `object`

  Represents a `NXOpen.Mechatronics.ElectricalPartCollection`

  To obtain an instance of this class, refer to `NXOpen.Mechatronics.MechatronicsManager`

  New in version NX9.0.0.

# Methods

Method | Description
--- | ---
CreateElectricalPartBuilder | Create builder for ElectricalPart class
FindObject | Finds the `NXOpen.Mechatronics.ElectricalPart` object with the given name.

# Method Detail

## CreateElectricalPartBuilder

`ElectricalPartCollection.``CreateElectricalPartBuilder`

  Create builder for ElectricalPart class

  Signature `CreateElectricalPartBuilder(object)`

  Parameters: | object (`NXOpen.Mechatronics.ElectricalPart`) – `NXOpen.Mechatronics.ElectricalPart` to be edited, if None then create a new one
  Returns: | `NXOpen.Mechatronics.ElectricalPart` object
  Return type: | `NXOpen.Mechatronics.ElectricalPartBuilder`

  New in version NX9.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## FindObject

`ElectricalPartCollection.``FindObject`

  Finds the `NXOpen.Mechatronics.ElectricalPart` object with the given name.

  Signature `FindObject(name)`

  Parameters: | name (str) – Name of the object, actually it shall be handle.
  Returns: | `NXOpen.Mechatronics.ElectricalPart` object with this name.
  Return type: | `NXOpen.Mechatronics.ElectricalPart`

  New in version NX9.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)