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

Represents a collection of ModelingView s. More...

Inheritance diagram for NXOpen::ModelingViewCollection:
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...
 
iterator end ()
 Returns an iterator addressing one past the last element. More...
 
void ExpandCollapseModelViewNode (bool expand)
 Expand or collapse the Model View node in the Part Navigator. More...
 
NXOpen::ModelingViewFindObject (const NXString &journalIdentifier)
 Finds the ModelingView with the given identifier as recorded in a journal. More...
 
NXOpen::ModelingViewFindObject (const char *journalIdentifier)
 Finds the ModelingView with the given identifier as recorded in a journal. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 
NXOpen::ModelingViewWorkView ()
 Returns the work view of the part. More...
 

Detailed Description

Represents a collection of ModelingView s.


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

Created in NX4.0.0.

Member Function Documentation

iterator NXOpen::ModelingViewCollection::begin ( )

Returns an iterator addressing the first element.

iterator NXOpen::ModelingViewCollection::end ( )

Returns an iterator addressing one past the last element.

void NXOpen::ModelingViewCollection::ExpandCollapseModelViewNode ( bool  expand)

Expand or collapse the Model View node in the Part Navigator.


Created in NX9.0.3.

License requirements : None

Parameters
expandexpand
NXOpen::ModelingView* NXOpen::ModelingViewCollection::FindObject ( const NXString journalIdentifier)

Finds the ModelingView 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 modeling view to be found
NXOpen::ModelingView* NXOpen::ModelingViewCollection::FindObject ( const char *  journalIdentifier)

Finds the ModelingView 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 modeling view to be found
tag_t NXOpen::ModelingViewCollection::Tag ( ) const

Returns the tag of this object.

NXOpen::ModelingView* NXOpen::ModelingViewCollection::WorkView ( )

Returns the work view of the part.


Created in NX4.0.0.

License requirements : None


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