ImageDataCollection Class — NXOpen Python API Reference 12.0.0 documentation

# ImageDataCollection Class

class `NXOpen.Display.``ImageDataCollection`

  Bases: `object`

  Represents a collection of `NXOpen.Display.ImageData` objects.

  The `NXOpen.Display.ImageDataCollection` also provides an iterator that iterates through all the `NXOpen.Display.ImageData` objects in the part.

  To obtain an instance of this class, refer to `NXOpen.BasePart`

  New in version NX9.0.0.

# Methods

Method | Description
--- | ---
FindObject | Finds the `NXOpen.Display.ImageData` with the given identifier as recorded in a journal.

# Method Detail

## FindObject

`ImageDataCollection.``FindObject`

  Finds the `NXOpen.Display.ImageData` with the given identifier as recorded in a journal.

  An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general,this method should not be used in handwritten code and exists to support record and playback of journals.

  An exception will be thrown if no object can be found with the given journal identifier.

  Signature `FindObject(journalIdentifier)`

  Parameters: | journalIdentifier (str) – Identifier to be found
  Returns: | Image data found
  Return type: | `NXOpen.Display.ImageData`

  New in version NX9.0.0.

  License requirements: None.