public interface SheetDraftingViewCollection extends TaggedObjectCollection
DraftingView
s. nxopen.drawings.DrawingSheet#sheetDraftingViews
to get the instance of this class. TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
BaseView |
createBaseView(ModelingView modelView,
Point3d drawingReferencePoint,
double viewScale,
boolean inheritClippingBoundry)
For the selected part adds the base view as well as returns the reference to
DraftingView . |
ProjectedView |
createProjectedView(DraftingView parentView,
Point3d drawingReferencePoint)
Lets you add a projected view (Orthoraphic View) for the selected parent view.
|
ProjectedView |
createProjectedView(DraftingView parentView,
Point3d drawingReferencePoint,
nxopen.Direction hingeLine)
Lets you add a projected view (A View) for the selected parent view.
|
void |
deleteView(DraftingView currentView)
Lets you delete the view
License requirements: None. |
DraftingView |
findObject(String journalIdentifier)
Finds the
DraftingView with the given identifier as recorded in a journal. |
_find_next, iterator
DraftingView findObject(String journalIdentifier) throws NXException, RemoteException
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.
journalIdentifier
- Identifier of the drafting view to be foundNXException
RemoteException
BaseView createBaseView(ModelingView modelView, Point3d drawingReferencePoint, double viewScale, boolean inheritClippingBoundry) throws NXException, RemoteException
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.
modelView
- Modeling View to be import as base view.drawingReferencePoint
- view origin(location)viewScale
- view scaleinheritClippingBoundry
- if true inherit xyclipNXException
RemoteException
ProjectedView createProjectedView(DraftingView parentView, Point3d drawingReferencePoint) throws NXException, RemoteException
parentView
- Selected Parent viewdrawingReferencePoint
- view origin(location)NXException
RemoteException
ProjectedView createProjectedView(DraftingView parentView, Point3d drawingReferencePoint, nxopen.Direction hingeLine) throws NXException, RemoteException
parentView
- Selected Parent viewdrawingReferencePoint
- view origin(location)hingeLine
- hinge line vectorNXException
RemoteException
void deleteView(DraftingView currentView) throws NXException, RemoteException
currentView
- View to be deletedNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.