NX Open C++ Reference Guide
Classes | Public Member Functions | List of all members
NXOpen::CutViewCollection Class Reference

Represents a collection of NXOpen::CutView objects. More...

Inheritance diagram for NXOpen::CutViewCollection:
NXOpen::TaggedObjectCollection

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::ModelingViewCreateLinkedSectionView (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::CutViewFindObject (const NXString &journalIdentifier)
 Finds the NXOpen::CutView with the given identifier as recorded in a journal. More...
 
NXOpen::CutViewFindObject (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...
 

Detailed Description

Represents a collection of NXOpen::CutView objects.


To obtain an instance of this class, refer to NXOpen::Part

Created in NX4.0.0.

Member Function Documentation

iterator NXOpen::CutViewCollection::begin ( )

Returns an iterator addressing the first element.

NXOpen::ModelingView* NXOpen::CutViewCollection::CreateLinkedSectionView ( NXOpen::CutView view)

Create a linked section view.

Returns

Created in NX5.0.0.

License requirements : None
Parameters
viewCut 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

Parameters
viewCut 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.

Returns
View with this identifier
Created in NX4.0.0.

License requirements : None
Parameters
journalIdentifierIdentifier 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.

Returns
View with this identifier
Created in NX4.0.0.

License requirements : None
Parameters
journalIdentifierIdentifier of the cut view to be found
std::vector<NXOpen::DisplayableObject *> NXOpen::CutViewCollection::GetCutViewsOfObject ( NXOpen::Body body)

Find the cut views of an object.

Returns

Created in NX5.0.0.

License requirements : None
Parameters
bodybody
bool NXOpen::CutViewCollection::IsCutBody ( NXOpen::Body body)

Return a "true" if the body is a cut body.

Returns

Created in NX5.0.0.

License requirements : None
Parameters
bodybody
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.

Returns

Created in NX5.0.0.

License requirements : None
Parameters
bodybody
viewCut view
uncutBodyCorresponding Uncut body
bool NXOpen::CutViewCollection::IsToolBody ( NXOpen::Body body)

Return a "true" if the body is a tool body.

Returns

Created in NX5.0.0.

License requirements : None
Parameters
bodybody
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.

Returns

Created in NX5.0.0.

License requirements : None
Parameters
bodybody
viewCut view
cutBodyCorresponding 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

Parameters
viewCut view

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.