ComparisonResultAttribute Class — NXOpen Python API Reference 12.0.0 documentation

# ComparisonResultAttribute Class

class `NXOpen.Mechatronics.``ComparisonResultAttribute`

  Bases: `NXOpen.Mechatronics.ComparisonResultBase`

  Represents attribute of comparison result

  New in version NX9.0.0.

# Properties

Property | Description
--- | ---
EcadValue | Returns or sets the value of imported ECAD device object
Ignored | Returns or sets the flag marked if the object will be ingored when applying it to logical model
LogicalValue | Returns or sets the value of matched logical object
Name | Returns the name of the attribute

# Methods

Method | Description
--- | ---
Dispose | Frees the object from memory.

# Property Detail

## EcadValue

`ComparisonResultAttribute.``EcadValue`

  Returns or sets the value of imported ECAD device object

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

  Getter Method

  Signature `EcadValue`

  Returns: | Value of imported ECAD device object
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `EcadValue`

  Parameters: | ecadValue (str) – Value of imported ECAD device object

  New in version NX9.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## LogicalValue

`ComparisonResultAttribute.``LogicalValue`

  Returns or sets the value of matched logical object

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

  Getter Method

  Signature `LogicalValue`

  Returns: | Value of matched logical object
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

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

  Setter Method

  Signature `LogicalValue`

  Parameters: | logicalValue (str) – Value of matched logical object

  New in version NX9.0.0.

  License requirements: nx_mcd_core (“MECHATRONICS CONCEPT DESIGNER”)

## Name

`ComparisonResultAttribute.``Name`

  Returns the name of the attribute

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

  Getter Method

  Signature `Name`

  Returns: | Name of attribute
  Return type: | str

  New in version NX9.0.0.

  License requirements: None.

# Method Detail

## Dispose

`ComparisonResultAttribute.``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.