VisualReportCollection Class

class NXOpen.VisualReporting.VisualReportCollection

Bases: object

A collection of visual reports.

To obtain an instance of this class, refer to NXOpen.VisualReporting.VisualReportManager

New in version NX7.0.0.

Methods

Method Description
FindObject Finds the NXOpen.VisualReporting.VisualReport with the given identifier as recorded in a journal.

Method Detail

FindObject

VisualReportCollection.FindObject

Finds the NXOpen.VisualReporting.VisualReport 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) – Filename of the visual report to be found
Returns:Visual report found, or null if no such visual report exists.
Return type:NXOpen.VisualReporting.VisualReport

New in version NX7.0.0.

License requirements: None.