NX Open C++ Reference Guide
|
Represents a collection SHED objects
To obtain an instance of this class, refer to BasePart
Created in NX6.0.0.
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. | |
NXOpen::Display::TrueShadingBuilder * | CreateTrueShadingBuilder (NXOpen::Display::TrueShading *sObj) |
Creates a Display::TrueShadingBuilder object if SHED is NULL. | |
iterator | end () |
Returns an iterator addressing one past the last element. | |
NXOpen::Display::TrueShading * | FindObject (const NXString &journalIdentifier) |
Finds the TrueShading with the given identifier as recorded in a journal. | |
NXOpen::Display::TrueShading * | FindObject (const char *journalIdentifier) |
Finds the TrueShading with the given identifier as recorded in a journal. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a collection SHED objects
To obtain an instance of this class, refer to BasePart
Created in NX6.0.0.
iterator NXOpen::Display::TrueShadingCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Display::TrueShadingBuilder* NXOpen::Display::TrueShadingCollection::CreateTrueShadingBuilder | ( | NXOpen::Display::TrueShading * | sObj | ) |
Creates a Display::TrueShadingBuilder object if SHED is NULL.
Otherwise, a TrueShading object will be edited
sObj | If SHED object is not NULL, then this object will be edited |
iterator NXOpen::Display::TrueShadingCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::Display::TrueShading* NXOpen::Display::TrueShadingCollection::FindObject | ( | const NXString & | journalIdentifier | ) |
Finds the TrueShading 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.
journalIdentifier | Identifier to be found |
NXOpen::Display::TrueShading* NXOpen::Display::TrueShadingCollection::FindObject | ( | const char * | journalIdentifier | ) |
Finds the TrueShading 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.
journalIdentifier | Identifier to be found |
tag_t NXOpen::Display::TrueShadingCollection::Tag | ( | ) | const |
Returns the tag of this object.