TrueStudioCollection Class — NXOpen Python API Reference 12.0.0 documentation

# TrueStudioCollection Class

class `NXOpen.Display.``TrueStudioCollection`

  Bases: `object`

  Represents a collection TrueStudio objects

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

  New in version NX6.0.0.

# Methods

Method | Description
--- | ---
CreateTrueStudioBuilder | Creates a `NXOpen.Display.TrueStudioBuilder` object if TrueStudio is None.
FindObject | Finds the `NXOpen.Display.TrueStudio` with the given identifier as recorded in a journal.

# Method Detail

## CreateTrueStudioBuilder

`TrueStudioCollection.``CreateTrueStudioBuilder`

  Creates a `NXOpen.Display.TrueStudioBuilder` object if TrueStudio is None.

  Otherwise, a TrueStudio object will be edited

  Signature `CreateTrueStudioBuilder(sObj)`

  Parameters: | sObj (`NXOpen.Display.TrueStudio`) – If TrueStudio object is not None, then this object will be edited
  Returns: | return TrueStudio object builder
  Return type: | `NXOpen.Display.TrueStudioBuilder`

  New in version NX6.0.0.

  License requirements: None.

## FindObject

`TrueStudioCollection.``FindObject`

  Finds the `NXOpen.Display.TrueStudio` 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 found with the given journal identifier.

  Signature `FindObject(journalIdentifier)`

  Parameters: | journalIdentifier (str) – Identifier to be found
  Returns: | TrueStudio object found
  Return type: | `NXOpen.Display.TrueStudio`

  New in version NX6.0.0.

  License requirements: None.