public interface ViewCollection extends TaggedObjectCollection
TaggedObjectCollection.Iterator
Modifier and Type | Method and Description |
---|---|
Background |
createBackground(View view,
boolean makeReferencedObjects)
Creates a
Background
License requirements: None. |
EnvironmentBuilder |
createEnvironmentBuilder(View view,
boolean makeReferencedObjects)
Creates a
EnvironmentBuilder
License requirements: studio_render ("UG STUDIO RENDER") Created in NX10.0.2 |
ExtractScene |
createExtractScene(View view)
Creates a
ExtractScene
License requirements: None. |
GlobalIlluminationBuilder |
createGlobalIlluminationBuilder()
Creates a
GlobalIlluminationBuilder
License requirements: None. |
Image |
createImage(View view)
Creates a
Image
License requirements: None. |
ImageBasedLighting |
createImageBasedLighting(View view,
boolean makeReferencedObjects)
Creates a
ImageBasedLighting
License requirements: None. |
IrayPlusMaterialEditorBuilder |
createIrayPlusMaterialEditorBuilder(String materialName)
Creates a
IrayPlusMaterialEditorBuilder
License requirements: studio_render ("UG STUDIO RENDER") Created in NX11.0.0 |
IrayPlusSimpleMaterialEditorBuilder |
createIrayPlusSimpleMaterialEditorBuilder()
Creates a
IrayPlusSimpleMaterialEditorBuilder
License requirements: studio_render ("UG STUDIO RENDER") Created in NX10.0.2 |
IRayPlusStudioEditorBuilder |
createIrayPlusStudioEditorBuilder()
Creates a
IRayPlusStudioEditorBuilder
License requirements: studio_render ("UG STUDIO RENDER") Created in NX10.0.2 |
LightBuilder |
createLightBuilder(Light light)
Creates a
LightBuilder
License requirements: None. |
Lighting |
createLighting(View view)
Creates a
Lighting
License requirements: None. |
NonProportionalZoom |
createNonProportionalZoom()
Creates a
NonProportionalZoom
License requirements: studio_analyze ("STUDIO ANALYZE") Created in NX7.0.0 |
RayTracedStudioBuilder |
createRayTracedStudioBuilder()
Creates a
RayTracedStudioBuilder
License requirements: None. |
RayTracedStudioEditorBuilder |
createRayTracedStudioEditorBuilder()
Creates a
RayTracedStudioEditorBuilder
License requirements: None. |
Reflection |
createReflection(View view,
boolean makeReferencedObjects)
Creates a
Reflection
License requirements: None. |
SaveImageFileBrowserBuilder |
createSaveImageFileBrowserBuilder()
Creates a
SaveImageFileBrowserBuilder
License requirements: None. |
Scene |
createScene(View view,
boolean makeReferencedObjects)
Creates a
Scene
License requirements: None. |
Shadows |
createShadows(View view)
Creates a
Shadows
License requirements: None. |
Stage |
createStage(View view,
boolean makeReferencedObjects)
Creates a
Stage
License requirements: None. |
StudioImageCaptureBuilder |
createStudioImageCaptureBuilder()
Creates a
StudioImageCaptureBuilder
License requirements: None. |
Wall |
createWall(View view,
Stage.WallType wallType)
Creates a
Wall
License requirements: None. |
View |
findObject(String journalIdentifier)
Finds the
View with the given identifier as recorded in a journal. |
void |
fitAll()
Adjusts the center and scale of each view in the current layout such that all of each
view is visible, except that this fit operation is not applied to member views on a drawing.
|
View[] |
getActiveViews()
Returns the active views in the view collection.
|
String[] |
getCustomViews()
Returns a list of custom view names in the view collection.
|
boolean |
isWorkViewExpanded()
Returns whether the work view of the given part is in expand state.
|
void |
refresh()
Refreshes all the views in the current layout
License requirements: None. |
void |
regenerate()
Regenerates the display of each view in the current layout.
|
void |
save()
Saves current view.
|
View |
saveAs(View selectedView,
String newViewName,
boolean copyViewModifications,
boolean moveViewDependencies)
Saves a view with user specified name.
|
View |
saveAsPreservingCase(View selectedView,
String newViewName,
boolean copyViewModifications,
boolean moveViewDependencies)
Preserve case for user defined view names.
|
void |
unexpandWork()
Removes the work view from the expand state (assuming that it is
in that state), restoring it to its normal size in its layout.
|
void |
updateDisplay()
Updates the display of each view in the current layout.
|
View |
workView()
Returns the work view of the part.
|
_find_next, iterator
void refresh() throws NXException, RemoteException
NXException
RemoteException
View[] getActiveViews() throws NXException, RemoteException
NXException
RemoteException
String[] getCustomViews() throws NXException, RemoteException
NXException
RemoteException
View workView() throws NXException, RemoteException
NXException
RemoteException
boolean isWorkViewExpanded() throws NXException, RemoteException
NXException
RemoteException
View saveAs(View selectedView, String newViewName, boolean copyViewModifications, boolean moveViewDependencies) throws NXException, RemoteException
selectedView
- Selected viewnewViewName
- Selected name of the viewcopyViewModifications
- True if view modifications to be copiedmoveViewDependencies
- True if view dependencies to be movedNXException
RemoteException
void save() throws NXException, RemoteException
NXException
RemoteException
View findObject(String journalIdentifier) throws NXException, RemoteException
View
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 view to be foundNXException
RemoteException
void unexpandWork() throws NXException, RemoteException
NXException
RemoteException
void fitAll() throws NXException, RemoteException
NXException
RemoteException
void regenerate() throws NXException, RemoteException
NXException
RemoteException
void updateDisplay() throws NXException, RemoteException
NXException
RemoteException
Scene createScene(View view, boolean makeReferencedObjects) throws NXException, RemoteException
view
- view to which scene data will be associatedmakeReferencedObjects
- true if scene objects are to be createdNXException
RemoteException
Background createBackground(View view, boolean makeReferencedObjects) throws NXException, RemoteException
view
- view to which background data will be associatedmakeReferencedObjects
- true if referenced image object is to be createdNXException
RemoteException
Shadows createShadows(View view) throws NXException, RemoteException
view
- view to which shadows data will be associatedNXException
RemoteException
Image createImage(View view) throws NXException, RemoteException
view
- view to which image data will be associatedNXException
RemoteException
Stage createStage(View view, boolean makeReferencedObjects) throws NXException, RemoteException
view
- view to which stage data will be associatedmakeReferencedObjects
- true if first wall's image object is to be createdNXException
RemoteException
Wall createWall(View view, Stage.WallType wallType) throws NXException, RemoteException
view
- view to which stage data will be associatedwallType
- where the wall sits in the Display.StageNXException
RemoteException
Reflection createReflection(View view, boolean makeReferencedObjects) throws NXException, RemoteException
view
- view to which reflection data will be associatedmakeReferencedObjects
- true if referenced image object is to be createdNXException
RemoteException
Lighting createLighting(View view) throws NXException, RemoteException
view
- view to which lighting data will be associatedNXException
RemoteException
LightBuilder createLightBuilder(Light light) throws NXException, RemoteException
light
- light for which data will be modifiedNXException
RemoteException
ImageBasedLighting createImageBasedLighting(View view, boolean makeReferencedObjects) throws NXException, RemoteException
view
- view to which image-based lighting data will be associatedmakeReferencedObjects
- true if referenced image object is to be createdNXException
RemoteException
ExtractScene createExtractScene(View view) throws NXException, RemoteException
view
- view to which to extract the scene data will be associatedNXException
RemoteException
NonProportionalZoom createNonProportionalZoom() throws NXException, RemoteException
NonProportionalZoom
NXException
RemoteException
StudioImageCaptureBuilder createStudioImageCaptureBuilder() throws NXException, RemoteException
NXException
RemoteException
View saveAsPreservingCase(View selectedView, String newViewName, boolean copyViewModifications, boolean moveViewDependencies) throws NXException, RemoteException
selectedView
- Selected viewnewViewName
- Selected name of the viewcopyViewModifications
- True if view modifications to be copiedmoveViewDependencies
- True if view dependencies to be movedNXException
RemoteException
RayTracedStudioBuilder createRayTracedStudioBuilder() throws NXException, RemoteException
NXException
RemoteException
SaveImageFileBrowserBuilder createSaveImageFileBrowserBuilder() throws NXException, RemoteException
NXException
RemoteException
GlobalIlluminationBuilder createGlobalIlluminationBuilder() throws NXException, RemoteException
NXException
RemoteException
RayTracedStudioEditorBuilder createRayTracedStudioEditorBuilder() throws NXException, RemoteException
NXException
RemoteException
EnvironmentBuilder createEnvironmentBuilder(View view, boolean makeReferencedObjects) throws NXException, RemoteException
EnvironmentBuilder
view
- view to which image-based lighting data will be associatedmakeReferencedObjects
- true if referenced image object is to be createdNXException
RemoteException
IRayPlusStudioEditorBuilder createIrayPlusStudioEditorBuilder() throws NXException, RemoteException
IRayPlusStudioEditorBuilder
NXException
RemoteException
IrayPlusSimpleMaterialEditorBuilder createIrayPlusSimpleMaterialEditorBuilder() throws NXException, RemoteException
IrayPlusSimpleMaterialEditorBuilder
NXException
RemoteException
IrayPlusMaterialEditorBuilder createIrayPlusMaterialEditorBuilder(String materialName) throws NXException, RemoteException
IrayPlusMaterialEditorBuilder
materialName
- NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.