DisplayPartOption Enumeration — NXOpen Python API Reference 12.0.0 documentation

# DisplayPartOption Enumeration

class `NXOpen.``DisplayPartOption`

  Bases: `object`

  Controls whether or not a new display part may be displayed in addition to existing display parts, or instead of the currently active display part. See `NXOpen.PartCollection.SetActiveDisplay()`

  New in version NX12.0.0.

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  ReplaceExisting | Replace the existing active display part with the new one
  AllowAdditional | If possible display the new part as an additional display part

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