NXOpen .NET Reference
12.0.0
|
Represents a collection of NXOpen.Drawings.DraftingView s. More...
Public Types | |
enum | ViewUpdateOption { All, OutOfDate, OutOfDateAutomatic } |
Specifies which drafting views to update. More... | |
enum | ViewCopyAnnotOption { CopyAnnotation, DontCopyAnnotation } |
Specifies the the annotation copy mode. More... | |
enum | ViewCopyDetailOption { DetailView, DuplicateView, ModelView } |
Specifies the the view copy mode. More... | |
Protected Member Functions | |
override int | EnumerateMoveNext (ref Tag currentTag, byte[] state) |
Advances the enumerator to the next element of the collection. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Represents a collection of NXOpen.Drawings.DraftingView s.
To obtain an instance of this class, refer to NXOpen.Part
Created in NX3.0.0
unsafe void NXOpen.Drawings.DraftingViewCollection.ConvertLegacyViewsToLightweight | ( | NXOpen.Drawings.DraftingView[] | views | ) |
Converts legacy views to lightweight.
The views in list can be spread amongst multiple sheets, but they must all belong to the same part.
Created in NX7.5.0
License requirements: drafting ("DRAFTING")
views |
unsafe NXOpen.Drawings.AddRemoveBoxViewBuilder NXOpen.Drawings.DraftingViewCollection.CreateAddRemoveBoxViewBuilder | ( | NXOpen.Drawings.DraftingView | activeView | ) |
Creates a NXOpen.Drawings.AddRemoveBoxViewBuilder
Created in NX8.0.0
License requirements: drafting ("DRAFTING")
activeView | the active view. Cannot be a null reference (Nothing in Visual Basic). |
unsafe NXOpen.Drawings.BaseViewBuilder NXOpen.Drawings.DraftingViewCollection.CreateBaseViewBuilder | ( | NXOpen.Drawings.BaseView | view | ) |
Creates the Base View Builder
Created in NX6.0.0
License requirements: drafting ("DRAFTING")
view | the base view to be edited, if a null reference (Nothing in Visual Basic), then create a base view |
unsafe NXOpen.Drawings.BrokenViewBuilder NXOpen.Drawings.DraftingViewCollection.CreateBrokenViewBuilder | ( | NXOpen.Drawings.ViewBreak | viewbreak | ) |
Creates a NXOpen.Drawings.BrokenViewBuilder
Created in NX7.5.0
License requirements: drafting ("DRAFTING")
viewbreak | the view break to be edited, a null reference (Nothing in Visual Basic) in case of new broken view. |
unsafe NXOpen.Drawings.ViewCopyTo3dBuilder NXOpen.Drawings.DraftingViewCollection.CreateCopyTo3dBuilder | ( | ) |
Creates a NXOpen.Drawings.ViewCopyTo3dBuilder
Created in NX6.0.0
License requirements: drafting ("DRAFTING")
unsafe NXOpen.Drawings.CustomViewSettingsBuilder NXOpen.Drawings.DraftingViewCollection.CreateCustomViewSettingsBuilder | ( | ) |
Creates a NXOpen.Drawings.CustomViewSettingsBuilder
Created in NX8.5.0
License requirements: drafting ("DRAFTING")
unsafe NXOpen.Drawings.DetailViewBuilder NXOpen.Drawings.DraftingViewCollection.CreateDetailViewBuilder | ( | NXOpen.Drawings.DetailView | view | ) |
Creates a NXOpen.Drawings.DetailViewBuilder
Created in NX6.0.0
License requirements: drafting ("DRAFTING")
view | NXOpen.Drawings.DetailView to be edited, if a null reference (Nothing in Visual Basic) then create a new one |
unsafe NXOpen.Drawings.DrawingViewBuilder NXOpen.Drawings.DraftingViewCollection.CreateDrawingViewBuilder | ( | NXOpen.Drawings.DrawingView | drawingview | ) |
Creates a DrawingViewBuilder
Created in NX6.0.0
License requirements: drafting ("DRAFTING")
drawingview | the drawing view to be edited, if a null reference (Nothing in Visual Basic), then create a drawing view |
unsafe NXOpen.Drawings.ProjectedViewBuilder NXOpen.Drawings.DraftingViewCollection.CreateProjectedViewBuilder | ( | NXOpen.Drawings.ProjectedView | view | ) |
Creates the Projected View Builder
Created in NX6.0.0
License requirements: drafting ("DRAFTING")
view | the projected view to be edited, if a null reference (Nothing in Visual Basic), then create a projected view |
unsafe NXOpen.Drawings.RefineDisplayBuilder NXOpen.Drawings.DraftingViewCollection.CreateRefineDisplayBuilder | ( | ) |
Creates a NXOpen.Drawings.RefineDisplayBuilder
Created in NX8.0.0
License requirements: drafting ("DRAFTING")
unsafe NXOpen.Drawings.SecondaryGeometryInViewsBuilder NXOpen.Drawings.DraftingViewCollection.CreateSecondaryGeometryInViewsBuilder | ( | ) |
Creates a NXOpen.Drawings.SecondaryGeometryInViewsBuilder
Created in NX11.0.0
License requirements: drafting ("DRAFTING")
unsafe NXOpen.Drawings.SectionInViewBuilder NXOpen.Drawings.DraftingViewCollection.CreateSectionInViewBuilder | ( | ) |
Creates the Section In View Builder
Created in NX6.0.0
License requirements: drafting ("DRAFTING")
unsafe NXOpen.Drawings.SectionViewBuilder NXOpen.Drawings.DraftingViewCollection.CreateSectionViewBuilder | ( | NXOpen.NXObject | sectionViewOrSectionLine | ) |
Creates the Section View Builder
Created in NX6.0.0
License requirements: drafting ("DRAFTING")
sectionViewOrSectionLine | the section view or section line to be edited, if a null reference (Nothing in Visual Basic), then create a section view or section line |
unsafe NXOpen.Drawings.ViewStyleShipbuildingLinesBuilder NXOpen.Drawings.DraftingViewCollection.CreateShipbuildingLineBuilder | ( | ) |
Creates a NXOpen.Drawings.ViewStyleShipbuildingLinesBuilder
Created in NX8.0.0
License requirements: drafting ("DRAFTING")
unsafe NXOpen.Drawings.ShipDraftingViewLinesBuilder NXOpen.Drawings.DraftingViewCollection.CreateShipDraftingViewLinesBuilder | ( | ) |
Creates a NXOpen.Drawings.ShipDraftingViewLinesBuilder
Created in NX10.0.0
License requirements: nx_ship_drafting ("Ship Drafting")
unsafe NXOpen.Drawings.StandardViewsBuilder NXOpen.Drawings.DraftingViewCollection.CreateStandardViewsBuilder | ( | ) |
Creates a StandardViewsBuilder
Created in NX6.0.1
License requirements: nx_layout ("NX Layout")
unsafe NXOpen.Drawings.UpdateViewsBuilder NXOpen.Drawings.DraftingViewCollection.CreateUpdateViewsBuilder | ( | ) |
Creates the Update Views Builder
Created in NX5.0.0
License requirements: drafting ("DRAFTING")
unsafe NXOpen.Drawings.ViewCreationWizardBuilder NXOpen.Drawings.DraftingViewCollection.CreateViewCreationWizardBuilder | ( | ) |
Creates a NXOpen.Drawings.ViewCreationWizardBuilder
Created in NX8.0.0
License requirements: drafting ("DRAFTING")
unsafe NXOpen.Drawings.ViewProjectionBuilder NXOpen.Drawings.DraftingViewCollection.CreateViewProjectionBuilder | ( | ) |
Creates a NXOpen.Drawings.ViewProjectionBuilder
Created in NX6.0.2
License requirements: nx_layout ("NX Layout")
unsafe void NXOpen.Drawings.DraftingViewCollection.DeleteViewsInOriginalPart | ( | NXOpen.Drawings.DraftingView[] | views | ) |
Deletes views in original part
Created in NX8.0.0
License requirements: drafting ("DRAFTING")
views |
|
protected |
Advances the enumerator to the next element of the collection.
unsafe NXOpen.Drawings.DraftingView NXOpen.Drawings.DraftingViewCollection.FindObject | ( | string | 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.
Created in NX3.0.0
License requirements: None.
journalIdentifier | Identifier of the drafting view to be found |
unsafe NXOpen.ModelingView NXOpen.Drawings.DraftingViewCollection.GetParentOfView | ( | NXOpen.View | view | ) |
Find the parent cut (sectioned) model view of a drawing member view.
If the parent view is not a cut model view, a null reference (Nothing in Visual Basic) is returned.
Created in NX3.0.0
License requirements: None.
view |
unsafe void NXOpen.Drawings.DraftingViewCollection.MoveViewsToDrawing | ( | NXOpen.Drawings.DraftingView[] | views, |
NXOpen.Drawings.DrawingSheet | drawing | ||
) |
Move views to drawing
Created in NX7.5.0
License requirements: drafting ("DRAFTING")
views | new views |
drawing | the drawing which view will in |
unsafe void NXOpen.Drawings.DraftingViewCollection.PasteViews | ( | NXOpen.Drawings.DrawingSheet | drawing, |
NXOpen.Drawings.DraftingView[] | views, | ||
NXOpen.Drawings.DraftingViewCollection.ViewCopyDetailOption | detailOption, | ||
NXOpen.Drawings.DraftingViewCollection.ViewCopyAnnotOption | annotOption, | ||
out NXOpen.Drawings.DraftingView[] | newViews | ||
) |
Paste views
Created in NX7.5.0
License requirements: drafting ("DRAFTING")
drawing | the drawing which view in |
views | old views |
detailOption | detail copy option |
annotOption | Annotation copy option |
newViews | new views |
unsafe void NXOpen.Drawings.DraftingViewCollection.RestoreViewBreaks | ( | NXOpen.Drawings.DraftingView | view | ) |
Restore all view breaks of the view suppressed by Drawings.DraftingViewCollection.SuppressViewBreaks
Created in NX8.0.0
License requirements: drafting ("DRAFTING")
view |
unsafe void NXOpen.Drawings.DraftingViewCollection.SuppressViewBreaks | ( | NXOpen.Drawings.DraftingView | view | ) |
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")
view |
NXOpen.Drawings.DraftingView [] NXOpen.Drawings.DraftingViewCollection.ToArray | ( | ) |
Returns an array of NXOpen.Drawings.DraftingView objects.
unsafe void NXOpen.Drawings.DraftingViewCollection.UpdateViewBreaks | ( | NXOpen.Drawings.DraftingView | view | ) |
Log all view breaks of the view for update
Created in NX8.5.0
License requirements: drafting ("DRAFTING")
view | View in which view breaks will be updated |
unsafe void NXOpen.Drawings.DraftingViewCollection.UpdateViews | ( | NXOpen.Drawings.DraftingViewCollection.ViewUpdateOption | updateOption | ) |
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.ViewUpdateOption.OutOfDate .
Created in NX3.0.0
License requirements: drafting ("DRAFTING")
updateOption | View update option |
unsafe void NXOpen.Drawings.DraftingViewCollection.UpdateViews | ( | NXOpen.Drawings.DraftingViewCollection.ViewUpdateOption | updateOption, |
NXOpen.Drawings.DrawingSheet | drawing | ||
) |
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.ViewUpdateOption.OutOfDate .
Created in NX3.0.0
License requirements: drafting ("DRAFTING")
updateOption | View update option |
drawing |
unsafe void NXOpen.Drawings.DraftingViewCollection.UpdateViews | ( | NXOpen.Drawings.DraftingView[] | views | ) |
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")
views |
|
get |
Returns the tag of this object.