ComponentName Enumeration — NXOpen Python API Reference 12.0.0 documentation

# ComponentName Enumeration

class `NXOpen.Routing.``ComponentName`

  Bases: `object`

  Describes whether or not a component associated with a Stock as Compoents Stock has been renamed by the user with a permanent name using the ??? method. Enum Members

  Enum Member | Enum Member Description
  --- | ---
  Temporary | Component name is temporary, it has not been renamed.
  Permanent | Component has been renamed by the user.

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