NX Open C++ Reference Guide
Classes | Public Types | Public Member Functions
NXOpen::Drawings::DraftingViewCollection Class Reference

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

Inheritance diagram for NXOpen::Drawings::DraftingViewCollection:
NXOpen::TaggedObjectCollection

List of all members.

Classes

class  iterator
 Iterator for accessing the contents of the collection. More...

Public Types

enum  ViewCopyAnnotOption { ViewCopyAnnotOptionCopyAnnotation, ViewCopyAnnotOptionDontCopyAnnotation }
 Specifies the the annotation copy mode. More...
enum  ViewCopyDetailOption { ViewCopyDetailOptionDetailView, ViewCopyDetailOptionDuplicateView, ViewCopyDetailOptionModelView }
 Specifies the the view copy mode. More...
enum  ViewUpdateOption { ViewUpdateOptionAll, ViewUpdateOptionOutOfDate, ViewUpdateOptionOutOfDateAutomatic }
 Specifies which drafting views to update. More...

Public Member Functions

iterator begin ()
 Returns an iterator addressing the first element.
NXOpen::Drawings::AddRemoveBoxViewBuilderCreateAddRemoveBoxViewBuilder (NXOpen::Drawings::DraftingView *activeView)
 Creates a Drawings::AddRemoveBoxViewBuilder.
NXOpen::Drawings::BaseViewBuilderCreateBaseViewBuilder (NXOpen::Drawings::BaseView *view)
 Creates the Base View Builder.
NXOpen::Drawings::BrokenViewBuilderCreateBrokenViewBuilder (NXOpen::Drawings::ViewBreak *viewbreak)
 Creates a Drawings::BrokenViewBuilder.
NXOpen::Drawings::ViewCopyTo3dBuilderCreateCopyTo3dBuilder ()
 Creates a Drawings::ViewCopyTo3dBuilder.
NXOpen::Drawings::DetailViewBuilderCreateDetailViewBuilder (NXOpen::Drawings::DetailView *view)
 Creates a Drawings::DetailViewBuilder.
NXOpen::Drawings::DrawingViewBuilderCreateDrawingViewBuilder (NXOpen::Drawings::DrawingView *drawingview)
 Creates a DrawingViewBuilder.
NXOpen::Drawings::ProjectedViewBuilderCreateProjectedViewBuilder (NXOpen::Drawings::ProjectedView *view)
 Creates the Projected View Builder.
NXOpen::Drawings::SectionInViewBuilderCreateSectionInViewBuilder ()
 Creates the Section In View Builder.
NXOpen::Drawings::SectionViewBuilderCreateSectionViewBuilder (NXOpen::Drawings::SectionView *view)
 Creates the Section View Builder.
NXOpen::Drawings::ViewStyleShipbuildingLinesBuilderCreateShipbuildingLineBuilder ()
 Creates a Drawings::ViewStyleShipbuildingLinesBuilder.
NXOpen::Drawings::StandardViewsBuilderCreateStandardViewsBuilder ()
 Creates a StandardViewsBuilder.
NXOpen::Drawings::UpdateViewsBuilderCreateUpdateViewsBuilder ()
 Creates the Update Views Builder.
NXOpen::Drawings::ViewCreationWizardBuilderCreateViewCreationWizardBuilder ()
 Creates a Drawings::ViewCreationWizardBuilder.
NXOpen::Drawings::ViewProjectionBuilderCreateViewProjectionBuilder ()
 Creates a Drawings::ViewProjectionBuilder.
void DeleteViewsInOriginalPart (const std::vector< NXOpen::Drawings::DraftingView * > &views)
 Deletes views in original part
Created in NX8.0.0.
iterator end ()
 Returns an iterator addressing one past the last element.
NXOpen::Drawings::DraftingViewFindObject (const NXString &journalIdentifier)
 Finds the Drawings::DraftingView with the given identifier as recorded in a journal.
NXOpen::ModelingViewGetParentOfView (NXOpen::View *view)
 Find the parent cut (sectioned) model view of a drawing member view.
void MoveViewsToDrawing (const std::vector< NXOpen::Drawings::DraftingView * > &views, NXOpen::Drawings::DrawingSheet *drawing)
 Move views to drawing
Created in NX7.5.0.
void PasteViews (NXOpen::Drawings::DrawingSheet *drawing, const std::vector< NXOpen::Drawings::DraftingView * > &views, NXOpen::Drawings::DraftingViewCollection::ViewCopyDetailOption detailOption, NXOpen::Drawings::DraftingViewCollection::ViewCopyAnnotOption annotOption, int *numNewViews, std::vector< NXOpen::Drawings::DraftingView * > &newViews)
 Paste views
Created in NX7.5.0.
void RestoreViewBreaks (NXOpen::Drawings::DraftingView *view)
 Restore all view breaks of the view suppressed by Drawings::DraftingViewCollection::SuppressViewBreaks
Created in NX8.0.0.
void SuppressViewBreaks (NXOpen::Drawings::DraftingView *view)
 Suppress all view breaks of the view.
tag_t Tag () const
 Returns the tag of this object.
void UpdateViews (NXOpen::Drawings::DraftingViewCollection::ViewUpdateOption updateOption)
 Updates drafting views in the part determined by an update option.
void UpdateViews (NXOpen::Drawings::DraftingViewCollection::ViewUpdateOption updateOption, NXOpen::Drawings::DrawingSheet *drawing)
 Updates drafting views in a sheet determined by an update option.
void UpdateViews (const std::vector< NXOpen::Drawings::DraftingView * > &views)
 Updates the drafting views.

Detailed Description

Represents a collection of Drawings::DraftingView s.


To obtain an instance of this class, refer to Part

Created in NX3.0.0.


Member Enumeration Documentation

Specifies the the annotation copy mode.

Enumerator:
ViewCopyAnnotOptionCopyAnnotation 

copy annotation

ViewCopyAnnotOptionDontCopyAnnotation 

don't copy annotation

Specifies the the view copy mode.

Enumerator:
ViewCopyDetailOptionDetailView 

detail view

ViewCopyDetailOptionDuplicateView 

duplicate view

ViewCopyDetailOptionModelView 

model view

Specifies which drafting views to update.

Enumerator:
ViewUpdateOptionAll 

Updates all views in scope (part or drawing sheet).

ViewUpdateOptionOutOfDate 

Updates all out of date views in scope (part or drawing sheet).

ViewUpdateOptionOutOfDateAutomatic 

Updates all out of date automatic views in scope (part or drawing sheet).


Member Function Documentation

Returns an iterator addressing the first element.

Creates a Drawings::AddRemoveBoxViewBuilder.

Returns:

Created in NX8.0.0.

License requirements : drafting ("DRAFTING")
Parameters:
activeViewthe active view. Cannot be NULL.

Creates the Base View Builder.

Returns:

Created in NX6.0.0.

License requirements : drafting ("DRAFTING")
Parameters:
viewthe base view to be edited, if NULL, then create a base view

Creates a Drawings::BrokenViewBuilder.

Returns:

Created in NX7.5.0.

License requirements : drafting ("DRAFTING")
Parameters:
viewbreakthe view break to be edited, NULL in case of new broken view.

Creates a Drawings::ViewCopyTo3dBuilder.

Returns:

Created in NX6.0.0.

License requirements : drafting ("DRAFTING")

Creates a Drawings::DetailViewBuilder.

Returns:

Created in NX6.0.0.

License requirements : drafting ("DRAFTING")
Parameters:
viewDrawings::DetailView to be edited, if NULL then create a new one

Creates a DrawingViewBuilder.

Returns:

Created in NX6.0.0.

License requirements : drafting ("DRAFTING")
Parameters:
drawingviewthe drawing view to be edited, if NULL, then create a drawing view

Creates the Projected View Builder.

Returns:

Created in NX6.0.0.

License requirements : drafting ("DRAFTING")
Parameters:
viewthe projected view to be edited, if NULL, then create a projected view

Creates the Section In View Builder.

Returns:

Created in NX6.0.0.

License requirements : drafting ("DRAFTING")

Creates the Section View Builder.

Returns:

Created in NX6.0.0.

License requirements : drafting ("DRAFTING")
Parameters:
viewthe section view to be edited, if NULL, then create a section view

Creates a Drawings::ViewStyleShipbuildingLinesBuilder.

Returns:
Returns the empty Shipbuilding Lines sub-builder on View Style
Created in NX8.0.0.

License requirements : drafting ("DRAFTING")

Creates a StandardViewsBuilder.

Returns:

Created in NX6.0.1.

License requirements : nx_drafting_plus ("Drafting Plus")

Creates the Update Views Builder.

Returns:

Created in NX5.0.0.

License requirements : drafting ("DRAFTING")

Creates a Drawings::ViewCreationWizardBuilder.

Returns:

Created in NX8.0.0.

License requirements : drafting ("DRAFTING")

Creates a Drawings::ViewProjectionBuilder.

Returns:

Created in NX6.0.2.

License requirements : nx_drafting_plus ("Drafting Plus")

Deletes views in original part
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters:
viewsviews

Returns an iterator addressing one past the last element.

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

Find the parent cut (sectioned) model view of a drawing member view.

If the parent view is not a cut model view, NULL is returned.

Returns:

Created in NX3.0.0.

License requirements : None
Parameters:
viewview

Move views to drawing
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters:
viewsnew views
drawingthe drawing which view will in

Paste views
Created in NX7.5.0.



License requirements : drafting ("DRAFTING")

Parameters:
drawingthe drawing which view in
viewsold views
detailOptiondetail copy option
annotOptionAnnotation copy option
numNewViewsnumber of new views
newViewsnew views

Restore all view breaks of the view suppressed by Drawings::DraftingViewCollection::SuppressViewBreaks
Created in NX8.0.0.



License requirements : drafting ("DRAFTING")

Parameters:
viewview

Suppress all view breaks of the view.

It is neccessary if we want change the view contents
Created in NX8.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
viewview

Returns the tag of this object.

Updates drafting views in the part determined by an update option.

For example, to update all out of date views in a part, pass in Drawings::DraftingViewCollection::ViewUpdateOptionOutOfDate .


Created in NX3.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
updateOptionView update option

Updates drafting views in a sheet determined by an update option.

For example, to update all out of date views on the sheet, pass in Drawings::DraftingViewCollection::ViewUpdateOptionOutOfDate .


Created in NX3.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
updateOptionView update option
drawingdrawing

Updates the drafting views.

The views in list can be spread amongst multiple sheets, but they must all belong to the same part.


Created in NX3.0.0.

License requirements : drafting ("DRAFTING")

Parameters:
viewsviews

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