NX Open C++ Reference Guide
|
Represents a collection of bodies in a part
To obtain an instance of this class, refer to NXOpen::Part
Created in NX3.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. More... | |
void | CollectionSweepabilityCheck (bool setColor) |
Sweepability check Created in NX12.0.0. More... | |
NXOpen::FlatteningBuilder * | CreateFlatteningBuilder () |
Creates a FlatteningBuilder . More... | |
NXOpen::FourPointSurfaceBuilder * | CreateFourPointSurfaceBuilder () |
Creates a Four Point Surface Builder. More... | |
NXOpen::SurfaceUVDirectionBuilder * | CreateSurfaceUvdirectionBuilder () |
Creates a SurfaceUVDirectionBuilder. More... | |
iterator | end () |
Returns an iterator addressing one past the last element. More... | |
NXOpen::Body * | FindObject (const NXString &journalIdentifier) |
Finds the NXOpen::Body with the given identifier as recorded in a journal. More... | |
NXOpen::Body * | FindObject (const char *journalIdentifier) |
Finds the NXOpen::Body 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 bodies in a part
To obtain an instance of this class, refer to NXOpen::Part
Created in NX3.0.0.
iterator NXOpen::BodyCollection::begin | ( | ) |
Returns an iterator addressing the first element.
void NXOpen::BodyCollection::CollectionSweepabilityCheck | ( | bool | setColor | ) |
Sweepability check
Created in NX12.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
setColor | setcolor |
NXOpen::FlatteningBuilder* NXOpen::BodyCollection::CreateFlatteningBuilder | ( | ) |
Creates a FlatteningBuilder .
Created in NX8.5.3.
License requirements : studio_free_form ("STUDIO FREE FORM")
NXOpen::FourPointSurfaceBuilder* NXOpen::BodyCollection::CreateFourPointSurfaceBuilder | ( | ) |
Creates a Four Point Surface Builder.
NXOpen::SurfaceUVDirectionBuilder* NXOpen::BodyCollection::CreateSurfaceUvdirectionBuilder | ( | ) |
Creates a SurfaceUVDirectionBuilder.
iterator NXOpen::BodyCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::Body* NXOpen::BodyCollection::FindObject | ( | const NXString & | journalIdentifier | ) |
Finds the NXOpen::Body 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 body you want |
NXOpen::Body* NXOpen::BodyCollection::FindObject | ( | const char * | journalIdentifier | ) |
Finds the NXOpen::Body 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 body you want |
tag_t NXOpen::BodyCollection::Tag | ( | ) | const |
Returns the tag of this object.