NX Open C++ Reference Guide
|
Manages the display and changes to it
To obtain an instance of this class, refer to Session
Created in NX3.0.0.
More...
Manages the display and changes to it
To obtain an instance of this class, refer to Session
Created in NX3.0.0.
Represents the layer settings when the objects to show are in invisible layers.
Controls the scope for the show hide operation.
See ShowByType and HideByType
Controls the type of object to show or hide.
See ShowByType and HideByType
ShowHideTypeAll |
Show or hide all of the following objects. |
ShowHideTypeGeometry |
Show or hide all geometry objects. This includes all bodies, components, and datums |
ShowHideTypeBodies |
Show or hide all bodies. This includes solid, sheet, and facetted bodies |
ShowHideTypeComponents |
Show or hide components. |
ShowHideTypeSolidBodies |
Show or hide solid bodies. |
ShowHideTypeSheetBodies |
Show or hide sheet bodies. |
ShowHideTypeFacetedBodies |
Show or hide faceted bodies. |
ShowHideTypePolygonBodies |
Show or hide polygon bodies. |
ShowHideTypeDatums |
Show or hide Datums i.e Coordinate Systems Datum Axes, Datum Planes, Datum Plane Grids, Points. |
ShowHideTypePoints |
Show or hide points. |
ShowHideTypeDatumAxes |
Show or hide datum axes. |
ShowHideTypeDatumPlanes |
Show or hide datum planes. |
ShowHideTypeDatumPlaneGrids |
Show or hide datum plane grids. |
ShowHideTypeEntitySelectionPlanes |
Show or hide entity selection planes. |
ShowHideTypeCsys |
Show or hide coordinate systems. |
ShowHideTypeSketches |
Show or hide sketches. |
ShowHideTypeCurves |
Show or hide curves. |
ShowHideTypeInfiniteLines |
Show or hide infinite lines. |
ShowHideTypeDraftingAnnotations |
Show or hide all drafting types. This includes drafting notes, dimensions, symbols and gdt |
ShowHideTypeDraftingDimensions |
Show or hide drafting dimensions. |
ShowHideTypeDraftingNotes |
Show or hide drafting notes. |
ShowHideTypeDraftingSymbols |
Show or hide drafting symbols. |
ShowHideTypeDraftingGdt |
Show or hide drafting gdt. |
ShowHideTypePmi |
Show or hide all pmi types. This includes pmi notes, dimensions, symbols and gdt |
ShowHideTypePmiDimensions |
Show or hide pmi dimensions. |
ShowHideTypePmiNotes |
Show or hide pmi notes. |
ShowHideTypePmiSymbols |
Show or hide pmi symbols. |
ShowHideTypePmiGdt |
Show or hide pmi gdt. |
ShowHideTypeAssemblyConstraints |
Show or hide assembly constraints. |
ShowHideTypePmiGeometry |
Show or hide pmi geometry. |
ShowHideTypeCaeEntities |
cae entities |
ShowHideTypeMeshes |
meshes |
ShowHideTypeMesh0d |
mesh0d |
ShowHideTypeMesh1d |
mesh1d |
ShowHideTypeMesh2d |
mesh2d |
ShowHideTypeMesh3d |
mesh3d |
void NXOpen::DisplayManager::BlankObjects | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
Blank a set of displayable objects
Created in NX3.0.0.
License requirements : None
objects | objects |
std::vector<NXOpen::DisplayManager::J3dData> NXOpen::DisplayManager::GetJ3dData | ( | ) |
Returns the list of displayable entities along with display information for each entity in the displayed part.
bool NXOpen::DisplayManager::GetJ3dGeometry | ( | NXOpen::DisplayableObject * | eid, |
double | tolerance, | ||
bool | wireframe, | ||
std::vector< double > & | points, | ||
std::vector< double > & | normals, | ||
std::vector< int > & | pointsPerStrip | ||
) |
Returns polygon/vector information for an entity.
eid | entity to tesselate |
tolerance | adjustment factor for tesselation tolerance |
wireframe | if true generates wireframe solids |
points | polygon/vector points |
normals | polygon normals |
pointsPerStrip | points for each triangle strip |
int NXOpen::DisplayManager::HideByType | ( | NXOpen::DisplayManager::ShowHideType | type, |
NXOpen::DisplayManager::ShowHideScope | scope | ||
) |
Hides a set of objects by type.
type | The type of object to hide |
scope | The scope for the show hide operation |
void NXOpen::DisplayManager::MakeUpToDate | ( | ) |
Constructs a new DisplayModification object.
void NXOpen::DisplayManager::ShowAdjacent | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
Display objects adjacent to a set of displayable objects(CAE::CAEFace , CAE::CAEEdge ).
If CAE::CAEFace selected, display all it's neighbouring faces and associated edges. If CAE::CAEEdge selected, display it's associated faces and their associated edges.
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
objects | objects |
int NXOpen::DisplayManager::ShowByType | ( | NXOpen::DisplayManager::ShowHideType | type, |
NXOpen::DisplayManager::ShowHideScope | scope | ||
) |
Shows a set of objects by type.
type | The type of object to show |
scope | The scope for the show hide operation |
void NXOpen::DisplayManager::ShowObjects | ( | const std::vector< NXOpen::DisplayableObject * > & | objects, |
NXOpen::DisplayManager::LayerSetting | layerSetting | ||
) |
Unblank a set of displayable objects considering the following layer settings if the objects are in invisible layers.
Created in NX5.0.2.
License requirements : None
objects | objects |
layerSetting | Layer setting option |
void NXOpen::DisplayManager::ShowOnly | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
Show a set of displayable objects.
The objects selectable are: Curve , Point , CAE::MeshPoint , CSYS, Plane , Mesh, CAE::CAEBody , CAE::CAEFace , Load, Constraint and Simulation Object
Created in NX5.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
objects | objects |
tag_t NXOpen::DisplayManager::Tag | ( | ) | const |
Returns the tag of this object.
void NXOpen::DisplayManager::UnblankObjects | ( | const std::vector< NXOpen::DisplayableObject * > & | objects | ) |
Unblank a set of displayable objects
Created in NX3.0.0.
License requirements : None
objects | objects |