NXOpen C++ Reference Guide
|
Represents a collection of NXOpen::CutView objects. 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::ModelingView * | CreateLinkedSectionView (NXOpen::CutView *view) |
Create a linked section view. More... | |
void | DeleteCutView (NXOpen::CutView *view) |
Delete the Master Cut feature associated with a cut view. More... | |
iterator | end () |
Returns an iterator addressing one past the last element. More... | |
NXOpen::CutView * | FindObject (const NXString &journalIdentifier) |
Finds the NXOpen::CutView with the given identifier as recorded in a journal. More... | |
NXOpen::CutView * | FindObject (const char *journalIdentifier) |
Finds the NXOpen::CutView with the given identifier as recorded in a journal. More... | |
std::vector < NXOpen::DisplayableObject * > | GetCutViewsOfObject (NXOpen::Body *body) |
Find the cut views of an object. More... | |
bool | IsCutBody (NXOpen::Body *body) |
Return a "true" if the body is a cut body. More... | |
bool | IsCutBodyOfView (NXOpen::Body *body, NXOpen::CutView *view, NXOpen::Body **uncutBody) |
Return a "true" if the body is a cut body in the view. More... | |
bool | IsToolBody (NXOpen::Body *body) |
Return a "true" if the body is a tool body. More... | |
bool | IsUncutBodyOfView (NXOpen::Body *body, NXOpen::CutView *view, NXOpen::Body **cutBody) |
Return a "true" if the body is an uncut body in the view. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
void | UpdateCutView (NXOpen::CutView *view) |
Update the Master Cut feature associated with a cut view. More... | |
Represents a collection of NXOpen::CutView objects.
To obtain an instance of this class, refer to NXOpen::Part
Created in NX4.0.0.
iterator NXOpen::CutViewCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::ModelingView* NXOpen::CutViewCollection::CreateLinkedSectionView | ( | NXOpen::CutView * | view | ) |
Create a linked section view.
Created in NX5.0.0.
License requirements : None
view | Cut view |
void NXOpen::CutViewCollection::DeleteCutView | ( | NXOpen::CutView * | view | ) |
Delete the Master Cut feature associated with a cut view.
Created in NX4.0.0.
License requirements : None
view | Cut view |
iterator NXOpen::CutViewCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::CutView* NXOpen::CutViewCollection::FindObject | ( | const NXString & | journalIdentifier | ) |
Finds the NXOpen::CutView 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 cut view to be found |
NXOpen::CutView* NXOpen::CutViewCollection::FindObject | ( | const char * | journalIdentifier | ) |
Finds the NXOpen::CutView 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 cut view to be found |
std::vector<NXOpen::DisplayableObject *> NXOpen::CutViewCollection::GetCutViewsOfObject | ( | NXOpen::Body * | body | ) |
Find the cut views of an object.
Created in NX5.0.0.
License requirements : None
body | body |
bool NXOpen::CutViewCollection::IsCutBody | ( | NXOpen::Body * | body | ) |
Return a "true" if the body is a cut body.
body | body |
bool NXOpen::CutViewCollection::IsCutBodyOfView | ( | NXOpen::Body * | body, |
NXOpen::CutView * | view, | ||
NXOpen::Body ** | uncutBody | ||
) |
Return a "true" if the body is a cut body in the view.
body | body |
view | Cut view |
uncutBody | Corresponding Uncut body |
bool NXOpen::CutViewCollection::IsToolBody | ( | NXOpen::Body * | body | ) |
Return a "true" if the body is a tool body.
body | body |
bool NXOpen::CutViewCollection::IsUncutBodyOfView | ( | NXOpen::Body * | body, |
NXOpen::CutView * | view, | ||
NXOpen::Body ** | cutBody | ||
) |
Return a "true" if the body is an uncut body in the view.
body | body |
view | Cut view |
cutBody | Corresponding Cut body |
tag_t NXOpen::CutViewCollection::Tag | ( | ) | const |
Returns the tag of this object.
void NXOpen::CutViewCollection::UpdateCutView | ( | NXOpen::CutView * | view | ) |
Update the Master Cut feature associated with a cut view.
Created in NX4.0.0.
License requirements : None
view | Cut view |