PartCollectionSdpsStatus Enumeration — NXOpen Python API Reference 12.0.0 documentation

# PartCollectionSdpsStatus Enumeration

NXOpen.PartCollection.SdpsStatus is an alias for NXOpen.PartCollectionSdpsStatus

class `NXOpen.``PartCollectionSdpsStatus`

  Bases: `object`

  Indicates the reason why it was not possible to use Design in Context (i.e. to set the work part to a component of the new active displayed part.)

  Used as a return code for `NXOpen.PartCollection.SetDisplay()`

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  Ok | The work part was set successfully. This code indicates success: all other codes indicate failure
  OutsideModelling | The modelling application is not active
  DrawingDisplayed | A drawing is currently displayed
  InPartsList | The Part List module is active
  Gdt | The Tolerancing module is active
  UnitsMismatch | The work part and displayed part have different units

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