NX Open C++ Reference Guide
Classes | Public Member Functions
NXOpen::CutViewCollection Class Reference

Represents a collection of CutView objects. More...

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

List of all members.

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::ModelingViewCreateLinkedSectionView (NXOpen::CutView *view)
 Create a linked section view.
void DeleteCutView (NXOpen::CutView *view)
 Delete the Master Cut feature associated with a cut view.
iterator end ()
 Returns an iterator addressing one past the last element.
NXOpen::CutViewFindObject (const NXString &journalIdentifier)
 Finds the CutView with the given identifier as recorded in a journal.
std::vector
< NXOpen::DisplayableObject * > 
GetCutViewsOfObject (NXOpen::Body *body)
 Find the cut views of an object.
bool IsCutBody (NXOpen::Body *body)
 Return a "true" if the body is a cut body.
bool IsCutBodyOfView (NXOpen::Body *body, NXOpen::CutView *view, NXOpen::Body **uncutBody)
 Return a "true" if the body is a cut body in the view.
bool IsToolBody (NXOpen::Body *body)
 Return a "true" if the body is a tool body.
bool IsUncutBodyOfView (NXOpen::Body *body, NXOpen::CutView *view, NXOpen::Body **cutBody)
 Return a "true" if the body is an uncut body in the view.
tag_t Tag () const
 Returns the tag of this object.
void UpdateCutView (NXOpen::CutView *view)
 Update the Master Cut feature associated with a cut view.

Detailed Description

Represents a collection of CutView objects.


To obtain an instance of this class, refer to Part

Created in NX4.0.0.


Member Function Documentation

Returns an iterator addressing the first element.

Create a linked section view.

Returns:

Created in NX5.0.0.

License requirements : None
Parameters:
viewCut view

Delete the Master Cut feature associated with a cut view.


Created in NX4.0.0.

License requirements : None

Parameters:
viewCut view

Returns an iterator addressing one past the last element.

Finds the 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

Find the cut views of an object.

Returns:

Created in NX5.0.0.

License requirements : None
Parameters:
bodybody

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

Returns:

Created in NX5.0.0.

License requirements : None
Parameters:
bodybody

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

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

Returns:

Created in NX5.0.0.

License requirements : None
Parameters:
bodybody

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

Returns the tag of this object.

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 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.