NX Open C++ Reference Guide
|
Represents a collection of Shape. 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. More... | |
NXOpen::Diagramming::ShapeBuilder * | CreateShapeBuilder (NXOpen::Diagramming::Shape *shape) |
Creates a NXOpen::Diagramming::ShapeBuilder . More... | |
iterator | end () |
Returns an iterator addressing one past the last element. More... | |
NXOpen::Diagramming::Shape * | FindObject (const NXString &journalIdentifier) |
Finds the NXOpen::Diagramming::Shape with the given identifier as recorded in a journal. More... | |
NXOpen::Diagramming::Shape * | FindObject (const char *journalIdentifier) |
Finds the NXOpen::Diagramming::Shape with the given identifier as recorded in a journal. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a collection of Shape.
To obtain an instance of this class, refer to NXOpen::Diagramming::DiagrammingManager
Created in NX10.0.0.
iterator NXOpen::Diagramming::ShapeCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Diagramming::ShapeBuilder* NXOpen::Diagramming::ShapeCollection::CreateShapeBuilder | ( | NXOpen::Diagramming::Shape * | shape | ) |
Creates a NXOpen::Diagramming::ShapeBuilder .
shape | NXOpen::Diagramming::Shape to be edited, if NULL then create a new one |
iterator NXOpen::Diagramming::ShapeCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::Diagramming::Shape* NXOpen::Diagramming::ShapeCollection::FindObject | ( | const NXString & | journalIdentifier | ) |
Finds the NXOpen::Diagramming::Shape with the given identifier as recorded in a journal.
An exception will be thrown if no object can be found with given name.
journalIdentifier | Identifier to be found |
NXOpen::Diagramming::Shape* NXOpen::Diagramming::ShapeCollection::FindObject | ( | const char * | journalIdentifier | ) |
Finds the NXOpen::Diagramming::Shape with the given identifier as recorded in a journal.
An exception will be thrown if no object can be found with given name.
journalIdentifier | Identifier to be found |
tag_t NXOpen::Diagramming::ShapeCollection::Tag | ( | ) | const |
Returns the tag of this object.