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

Represents a collection of NXOpen::Drawings::DraftingView s. More...

Inheritance diagram for NXOpen::Drawings::SheetDraftingViewCollection:
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::Drawings::BaseViewCreateBaseView (NXOpen::ModelingView *modelView, const NXOpen::Point3d &drawingReferencePoint, double viewScale, bool inheritClippingBoundry)
 For the selected part adds the base view as well as returns the reference to NXOpen::Drawings::DraftingView . More...
 
NXOpen::Drawings::ProjectedViewCreateProjectedView (NXOpen::Drawings::DraftingView *parentView, const NXOpen::Point3d &drawingReferencePoint)
 Lets you add a projected view (Orthoraphic View) for the selected parent view. More...
 
NXOpen::Drawings::ProjectedViewCreateProjectedView (NXOpen::Drawings::DraftingView *parentView, const NXOpen::Point3d &drawingReferencePoint, NXOpen::Direction *hingeLine)
 Lets you add a projected view (A View) for the selected parent view. More...
 
NXOpen::Drawings::ProjectedViewCreateProjectedView (NXOpen::Drawings::DraftingView *parentView, const NXOpen::Point3d &drawingReferencePoint, bool reverseDirection)
 Lets you add a projected view (A View) for the selected parent view. More...
 
void DeleteView (NXOpen::Drawings::DraftingView *currentView)
 Lets you delete the view
Created in NX5.0.0. More...
 
iterator end ()
 Returns an iterator addressing one past the last element. More...
 
NXOpen::Drawings::DraftingViewFindObject (const NXString &journalIdentifier)
 Finds the NXOpen::Drawings::DraftingView with the given identifier as recorded in a journal. More...
 
NXOpen::Drawings::DraftingViewFindObject (const char *journalIdentifier)
 Finds the NXOpen::Drawings::DraftingView with the given identifier as recorded in a journal. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a collection of NXOpen::Drawings::DraftingView s.


Use NXOpen::Drawings::DrawingSheet::SheetDraftingViews to get the instance of this class.

Created in NX3.0.0.

Member Function Documentation

iterator NXOpen::Drawings::SheetDraftingViewCollection::begin ( )

Returns an iterator addressing the first element.

NXOpen::Drawings::BaseView* NXOpen::Drawings::SheetDraftingViewCollection::CreateBaseView ( NXOpen::ModelingView modelView,
const NXOpen::Point3d drawingReferencePoint,
double  viewScale,
bool  inheritClippingBoundry 
)

For the selected part adds the base view as well as returns the reference to NXOpen::Drawings::DraftingView .

An imported model view (base view) determines orthographic space on the drawing and is used as a reference to establish the alignment and scale for all subsequent projected views.

Returns
Base view
Created in NX5.0.0.

License requirements : None
Parameters
modelViewModeling View to be import as base view.
drawingReferencePointview origin(location)
viewScaleview scale
inheritClippingBoundryif true inherit xyclip
NXOpen::Drawings::ProjectedView* NXOpen::Drawings::SheetDraftingViewCollection::CreateProjectedView ( NXOpen::Drawings::DraftingView parentView,
const NXOpen::Point3d drawingReferencePoint 
)

Lets you add a projected view (Orthoraphic View) for the selected parent view.

Returns
Projected view
Created in NX5.0.0.

License requirements : None
Parameters
parentViewSelected Parent view
drawingReferencePointview origin(location)
NXOpen::Drawings::ProjectedView* NXOpen::Drawings::SheetDraftingViewCollection::CreateProjectedView ( NXOpen::Drawings::DraftingView parentView,
const NXOpen::Point3d drawingReferencePoint,
NXOpen::Direction hingeLine 
)

Lets you add a projected view (A View) for the selected parent view.

Returns
Projected view
Created in NX5.0.0.

License requirements : None
Parameters
parentViewSelected Parent view
drawingReferencePointview origin(location)
hingeLinehinge line vector
NXOpen::Drawings::ProjectedView* NXOpen::Drawings::SheetDraftingViewCollection::CreateProjectedView ( NXOpen::Drawings::DraftingView parentView,
const NXOpen::Point3d drawingReferencePoint,
bool  reverseDirection 
)

Lets you add a projected view (A View) for the selected parent view.

Returns
Projected view
Created in NX5.0.1.

License requirements : None
Parameters
parentViewSelected Parent view
drawingReferencePointview origin(location)
reverseDirectionreverse direction of projection
void NXOpen::Drawings::SheetDraftingViewCollection::DeleteView ( NXOpen::Drawings::DraftingView currentView)

Lets you delete the view
Created in NX5.0.0.



License requirements : None

Parameters
currentViewView to be deleted
iterator NXOpen::Drawings::SheetDraftingViewCollection::end ( )

Returns an iterator addressing one past the last element.

NXOpen::Drawings::DraftingView* NXOpen::Drawings::SheetDraftingViewCollection::FindObject ( const NXString journalIdentifier)

Finds the NXOpen::Drawings::DraftingView 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 NX3.0.0.

License requirements : None
Parameters
journalIdentifierIdentifier of the drafting view to be found
NXOpen::Drawings::DraftingView* NXOpen::Drawings::SheetDraftingViewCollection::FindObject ( const char *  journalIdentifier)

Finds the NXOpen::Drawings::DraftingView 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 NX3.0.0.

License requirements : None
Parameters
journalIdentifierIdentifier of the drafting view to be found
tag_t NXOpen::Drawings::SheetDraftingViewCollection::Tag ( ) const

Returns the tag of this object.


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