NX Open C++ Reference Guide
|
Represents a collection of ModelingView s. More...
Classes | |
class | iterator |
Iterator for accessing the contents of the collection. More... | |
Public Member Functions | |
iterator | begin () |
Returns an iterator addressing the first element. | |
iterator | end () |
Returns an iterator addressing one past the last element. | |
NXOpen::ModelingView * | FindObject (const NXString &journalIdentifier) |
Finds the ModelingView with the given identifier as recorded in a journal. | |
NXOpen::ModelingView * | FindObject (const char *journalIdentifier) |
Finds the ModelingView with the given identifier as recorded in a journal. | |
tag_t | Tag () const |
Returns the tag of this object. | |
NXOpen::ModelingView * | WorkView () |
Returns the work view of the part. | |
Represents a collection of ModelingView s.
To obtain an instance of this class, refer to BasePart
Created in NX4.0.0.
iterator NXOpen::ModelingViewCollection::begin | ( | ) |
Returns an iterator addressing the first element.
iterator NXOpen::ModelingViewCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::ModelingView* NXOpen::ModelingViewCollection::FindObject | ( | const NXString & | journalIdentifier | ) |
Finds the ModelingView 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.
journalIdentifier | Identifier of the modeling view to be found |
NXOpen::ModelingView* NXOpen::ModelingViewCollection::FindObject | ( | const char * | journalIdentifier | ) |
Finds the ModelingView 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.
journalIdentifier | Identifier of the modeling view to be found |
tag_t NXOpen::ModelingViewCollection::Tag | ( | ) | const |
Returns the tag of this object.
NXOpen::ModelingView* NXOpen::ModelingViewCollection::WorkView | ( | ) |
Returns the work view of the part.
Created in NX4.0.0.
License requirements : None