Modifier and Type | Interface and Description |
---|---|
static class |
DisplayManager.FacetCacheMemoryLevelType
Facet cache memory level.
|
static class |
DisplayManager.J3dColor
3d interface color definition
|
static class |
DisplayManager.J3dData
3d interface structure
|
static class |
DisplayManager.J3dGeometryData
This class holds the data returned from
getJ3dGeometry(nxopen.DisplayableObject, double, boolean) |
static class |
DisplayManager.J3dMaterial
3d interface material definition
|
static class |
DisplayManager.LayerSetting
Represents the layer settings when the objects to show are in invisible layers
|
static class |
DisplayManager.ShowHideScope
Controls the scope for the show hide operation.
|
static class |
DisplayManager.ShowHideType
Controls the type of object to show or hide.
|
Modifier and Type | Method and Description |
---|---|
void |
blankObjects(DisplayableObject[] objects)
Blank a set of displayable objects.
|
DisplayManager.FacetCacheMemoryLevelType |
facetCacheMemoryLevel()
Returns the memory level of the display facet cache system.
|
DisplayManager.J3dData[] |
getJ3dData()
Returns the list of displayable entities along with display information for
each entity in the displayed part.
|
DisplayManager.J3dGeometryData |
getJ3dGeometry(DisplayableObject eid,
double tolerance,
boolean wireframe)
Returns polygon/vector information for an entity
License requirements: None. |
String[] |
getShowableHideableTypes()
Returns an array of all Registered ShowHideType strings.
|
int |
hideByType(DisplayManager.ShowHideType type,
DisplayManager.ShowHideScope scope)
Deprecated.
Deprecated in NX9.0.0. Use
nxopen.displayManager#hideByType that takes a string type instead.
|
int |
hideByType(String type,
DisplayManager.ShowHideScope scope)
Hides a set of objects by type.
|
void |
makeUpToDate()
Ensures that previously invoked display operations are complete.
|
DisplayModification |
newDisplayModification()
Constructs a new
nxopen.displayModification object. |
void |
setFacetCacheMemoryLevel(DisplayManager.FacetCacheMemoryLevelType memoryLevel)
License requirements: None. |
void |
showAdjacent(DisplayableObject[] objects)
|
int |
showByType(DisplayManager.ShowHideType type,
DisplayManager.ShowHideScope scope)
Deprecated.
Deprecated in NX9.0.0. Use
nxopen.displayManager#showByType that takes a string type instead.
|
int |
showByType(String type,
DisplayManager.ShowHideScope scope)
Shows a set of objects by type.
|
void |
showNodesRelatedToDisplayedElements(boolean includeInteriorNodes)
Display all nodes related to displayed elements.
|
void |
showObjects(DisplayableObject[] objects,
DisplayManager.LayerSetting layerSetting)
Unblank a set of displayable objects considering the following layer settings if the objects are in invisible layers.
|
void |
showOnly(DisplayableObject[] objects)
Show a set of displayable objects.
|
void |
unblankObjects(DisplayableObject[] objects)
Unblank a set of displayable objects.
|
DisplayModification newDisplayModification() throws NXException, RemoteException
nxopen.displayModification
object.
NXException
RemoteException
void blankObjects(DisplayableObject[] objects) throws NXException, RemoteException
View.fitAfterShowOrHide(nxopen.View.ShowOrHideType)
after using this method.
objects
- NXException
RemoteException
void unblankObjects(DisplayableObject[] objects) throws NXException, RemoteException
View.fitAfterShowOrHide(nxopen.View.ShowOrHideType)
after using this method.
objects
- NXException
RemoteException
int showByType(DisplayManager.ShowHideType type, DisplayManager.ShowHideScope scope) throws NXException, RemoteException
nxopen.displayManager#showByType
that takes a string type instead.
View.fitAfterShowOrHide(nxopen.View.ShowOrHideType)
after using this method.
type
- The type of object to showscope
- The scope for the show hide operationNXException
RemoteException
int showByType(String type, DisplayManager.ShowHideScope scope) throws NXException, RemoteException
View.fitAfterShowOrHide(nxopen.View.ShowOrHideType)
after using this method.
type
- The type of object to show scope
- The scope for the show hide operationNXException
RemoteException
int hideByType(DisplayManager.ShowHideType type, DisplayManager.ShowHideScope scope) throws NXException, RemoteException
nxopen.displayManager#hideByType
that takes a string type instead.
View.fitAfterShowOrHide(nxopen.View.ShowOrHideType)
after using this method.
type
- The type of object to hidescope
- The scope for the show hide operationNXException
RemoteException
int hideByType(String type, DisplayManager.ShowHideScope scope) throws NXException, RemoteException
View.fitAfterShowOrHide(nxopen.View.ShowOrHideType)
after using this method.
type
- The type of object to hide scope
- The scope for the show hide operationNXException
RemoteException
void showOnly(DisplayableObject[] objects) throws NXException, RemoteException
Curve
, Point
, MeshPoint
,
CSYS, Plane
, Mesh, CAEBody
,
CAEFace
, Load, Constraint and Simulation Object.
You may want to use View.fitAfterShowOrHide(nxopen.View.ShowOrHideType)
after using this method.
objects
- NXException
RemoteException
void showAdjacent(DisplayableObject[] objects) throws NXException, RemoteException
CAEFace
,
CAEEdge
).
If CAEFace
selected, display all it's neighbouring faces and associated edges.
If CAEEdge
selected, display it's associated faces and their associated edges.
objects
- NXException
RemoteException
void showNodesRelatedToDisplayedElements(boolean includeInteriorNodes) throws NXException, RemoteException
ModelDisplayBuilder
has the node display mode set to
ModelDisplayBuilder.NodeDisplayModeType.IMPLICIT
includeInteriorNodes
- NXException
RemoteException
void makeUpToDate() throws NXException, RemoteException
NXException
RemoteException
DisplayManager.J3dData[] getJ3dData() throws NXException, RemoteException
NXException
RemoteException
DisplayManager.J3dGeometryData getJ3dGeometry(DisplayableObject eid, double tolerance, boolean wireframe) throws NXException, RemoteException
eid
- entity to tesselatetolerance
- adjustment factor for tesselation tolerancewireframe
- if true generates wireframe solidsNXException
RemoteException
void showObjects(DisplayableObject[] objects, DisplayManager.LayerSetting layerSetting) throws NXException, RemoteException
nxopen.displayManager.LayerSetting#MOVE_OBJECTS_TO_WORK_LAYER
- The objects will be moved to work layer before unblanking the objects if they are in invisible layer.nxopen.displayManager.LayerSetting#CHANGE_LAYER_TO_SELECTABLE
- The objects layer will be changed to selectable if the layer is invisible objects
- layerSetting
- Layer setting optionNXException
RemoteException
String[] getShowableHideableTypes() throws NXException, RemoteException
NXException
RemoteException
DisplayManager.FacetCacheMemoryLevelType facetCacheMemoryLevel() throws NXException, RemoteException
nxopen.displayManager.FacetCacheMemoryLevelType#NONE
.
For all other memory levels, the display system will attempt to perform
periodic cleanup if it detects that NX is experiencing memory pressure.
The extent of cleanup depends on the memory level. Lower memory level
indicates that more cleanup is desired to keep loweer memory footprint.
Note that low memory level can slow down rendering performance due to
absence of facet data in the facet cache.
NXException
RemoteException
void setFacetCacheMemoryLevel(DisplayManager.FacetCacheMemoryLevelType memoryLevel) throws NXException, RemoteException
memoryLevel
- NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.