ComparisonResultElectricalPart Class — NXOpen Python API Reference 12.0.0 documentation

# ComparisonResultElectricalPart Class

class `NXOpen.Mechatronics.``ComparisonResultElectricalPart`

  Bases: `NXOpen.Mechatronics.ComparisonResultBase`

  Represents electrical part of comparison result

  New in version NX9.0.0.

# Properties

Property | Description
--- | ---
ComparisonStatus | Returns the status from the electrical part
Ignored | Returns or sets the flag marked if the object will be ingored when applying it to logical model
PartNumber | Returns the part number from the electrical part

# Methods

Method | Description
--- | ---
Dispose | Frees the object from memory.
GetAttributes | Gets a list of attributes from the electrical part

# Enumerations

ComparisonResultElectricalPartStatus Enumeration | Defines statuses of electrical parts

# Property Detail

## ComparisonStatus

`ComparisonResultElectricalPart.``ComparisonStatus`

  Returns the status from the electrical part

  `-------------------------------------`

  Getter Method

  Signature `ComparisonStatus`

  Returns: | Status of electrical part
  Return type: | `NXOpen.Mechatronics.ComparisonResultElectricalPartStatus`

  New in version NX9.0.0.

  License requirements: None.

## PartNumber

`ComparisonResultElectricalPart.``PartNumber`

  Returns the part number from the electrical part

  `-------------------------------------`

  Getter Method

  Signature `PartNumber`

  Returns: | Part number of electrical part
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

# Method Detail

## Dispose

`ComparisonResultElectricalPart.``Dispose`

  Frees the object from memory.

  After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.

  Signature `Dispose()`

  New in version NX9.0.0.

  License requirements: None.

## GetAttributes

`ComparisonResultElectricalPart.``GetAttributes`

  Gets a list of attributes from the electrical part

  Signature `GetAttributes()`

  Returns: | a tuple
  Return type: | A tuple consisting of (attributeNames, attributeValues) attributeNames is a list of str. Array of attribute names attributeValues is a list of str. Array of attribute values

  New in version NX9.0.0.

  License requirements: None.