BasePartPartPreview Enumeration — NXOpen Python API Reference 12.0.0 documentation

# BasePartPartPreview Enumeration

NXOpen.BasePart.PartPreview is an alias for NXOpen.BasePartPartPreview

class `NXOpen.``BasePartPartPreview`

  Bases: `object`

  Specifies the preview mode of the part file.

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  NotSet | No preview image is stored for the part.
  OnSave | Create a preview image when the part is saved.
  OnDemand | Create a preview image on demand.

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