NX Open C++ Reference Guide
Classes | Public Types | Public Member Functions | List of all members
NXOpen::DisplayManager Class Reference

Represents an object to manage display settings. More...

Classes

struct  J3dColor
 3d interface color definition More...
 
struct  J3dData
 3d interface structure More...
 
struct  J3dMaterial
 3d interface material definition More...
 

Public Types

enum  FacetCacheMemoryLevelType { FacetCacheMemoryLevelTypeNone, FacetCacheMemoryLevelTypeOne, FacetCacheMemoryLevelTypeTwo, FacetCacheMemoryLevelTypeThree }
 Facet cache memory level. More...
 
enum  LayerSetting { LayerSettingMoveObjectsToWorkLayer, LayerSettingChangeLayerToSelectable, LayerSettingInvalid }
 Represents the layer settings when the objects to show are in invisible layers. More...
 
enum  ShowHideScope { ShowHideScopeAnyInAssembly, ShowHideScopeWorkPartAndOccurrence }
 Controls the scope for the show hide operation. More...
 
enum  ShowHideType {
  ShowHideTypeAll, ShowHideTypeGeometry, ShowHideTypeBodies, ShowHideTypeComponents,
  ShowHideTypeSolidBodies, ShowHideTypeSheetBodies, ShowHideTypeFacetedBodies, ShowHideTypePolygonBodies,
  ShowHideTypeSheetPolygonBodies, ShowHideTypeSolidPolygonBodies, ShowHideTypeMidsurfacePolygonBodies, ShowHideTypeFromMeshPolygonBodies,
  ShowHideTypeFlowPolygonBodies, ShowHideTypeDatums, ShowHideTypePoints, ShowHideTypeDatumAxes,
  ShowHideTypeDatumPlanes, ShowHideTypeDatumPlaneGrids, ShowHideTypeEntitySelectionPlanes, ShowHideTypeCsys,
  ShowHideTypeSketches, ShowHideTypeCurves, ShowHideTypeInfiniteLines, ShowHideTypeDraftingAnnotations,
  ShowHideTypeDraftingDimensions, ShowHideTypeDraftingNotes, ShowHideTypeDraftingSymbols, ShowHideTypeDraftingGdt,
  ShowHideTypePmi, ShowHideTypePmiDimensions, ShowHideTypePmiNotes, ShowHideTypePmiSymbols,
  ShowHideTypePmiGdt, ShowHideTypeAssemblyConstraints, ShowHideTypePmiGeometry, ShowHideTypeCaeEntities,
  ShowHideTypeMeshes, ShowHideTypeMesh0d, ShowHideTypeMesh0dConcentratedMass, ShowHideTypeMesh0dDistributedMass,
  ShowHideTypeMesh0dHeatBody, ShowHideTypeMesh0dNodeToGround, ShowHideTypeMesh1d, ShowHideTypeMesh1dBar,
  ShowHideTypeMesh1dBeam, ShowHideTypeMesh1dRod, ShowHideTypeMesh1dBearing, ShowHideTypeMesh1dRigidLink,
  ShowHideTypeMesh1dInterpolation, ShowHideTypeMesh1dSpring, ShowHideTypeMesh1dEdgeContact, ShowHideTypeMesh1dFaceContact,
  ShowHideTypeMesh1dWeld, ShowHideTypeMesh1dEdgeFaceConnection, ShowHideTypeMesh1dPlotel, ShowHideTypeMesh1dMass,
  ShowHideTypeMesh1dMpc, ShowHideTypeMesh2d, ShowHideTypeMesh2dTri3, ShowHideTypeMesh2dTri6,
  ShowHideTypeMesh2dQuad4, ShowHideTypeMesh2dQuad8, ShowHideTypeMesh3d, ShowHideTypeMesh3dTet4,
  ShowHideTypeMesh3dTet10, ShowHideTypeMesh3dTetMixed, ShowHideTypeMesh3dHex8, ShowHideTypeMesh3dHex20,
  ShowHideTypeMesh3dHexcohes8, ShowHideTypeMesh3dHexcohes20, ShowHideTypeMesh3dWedge6, ShowHideTypeMesh3dWedge15,
  ShowHideTypeMesh3dWdgcohes6, ShowHideTypeMesh3dWdgcohes15, ShowHideTypeMesh3dPyramid5, ShowHideTypeMesh3dPyramid13,
  ShowHideTypeMesh3dPyramidMixed, ShowHideTypeDrawingObjects, ShowHideTypeDrawingDimensions, ShowHideTypeDrawingAnnotation,
  ShowHideTypeDrawingNotes, ShowHideTypeDrawingFeatureControlFrame, ShowHideTypeDrawingDatumFeatureSymbols, ShowHideTypeDrawingDatumTargets,
  ShowHideTypeDrawingBalloons, ShowHideTypeDrawingSurfaceFinishSymbols, ShowHideTypeDrawingWeldSymbols, ShowHideTypeDrawingTargetPointSymbols,
  ShowHideTypeDrawingIntersectionSymbols, ShowHideTypeDrawingCrosshatch, ShowHideTypeDrawingAreaFill, ShowHideTypeDrawingCenterlines,
  ShowHideTypeDrawingCustomSymbols, ShowHideTypeDrawingTables, ShowHideTypeDrawingTabularNotes, ShowHideTypeDrawingPartsLists,
  ShowHideTypeDrawingTitleBlocks, ShowHideTypeDrawingHoleTables, ShowHideTypeDrawingImages, ShowHideTypePmiObject,
  ShowHideTypePmiObjectDimensions, ShowHideTypePmiAnnotations, ShowHideTypePmiObjectNotes, ShowHideTypePmiFeatureControlFrames,
  ShowHideTypePmiDatumFeatureSymbols, ShowHideTypePmiDatumTargets, ShowHideTypePmiBalloons, ShowHideTypePmiSurfaceFinishSymbols,
  ShowHideTypePmiWeldSymbols, ShowHideTypePmiCenterlines, ShowHideTypePmiRegions, ShowHideTypePmiTables,
  ShowHideTypePmiCustomSymbols, ShowHideTypeComponents2d, ShowHideTypeImages, ShowHideTypeRasterImage,
  ShowHideTypeAoAll, ShowHideTypeAoDeviationGauge, ShowHideTypeAoSectionAnalysis, ShowHideTypeAoGridAnalysis,
  ShowHideTypeAoHighlightLines, ShowHideTypeAoSurfaceContinuity, ShowHideTypeAoGapFlushness, ShowHideTypeAoCurveContinuity,
  ShowHideTypeAoCurveCurvature, ShowHideTypeAoSurfaceIntersection, ShowHideTypeAoDraftAnalysis, ShowHideTypeAoTrimAngleCheck,
  ShowHideTypeAoMoldFlow, ShowHideTypeAoLocalRadius, ShowHideTypeAoFaceCurvature, ShowHideTypeAoFaceAnalysis,
  ShowHideTypeAoWallThickness, ShowHideTypeMeshControls, ShowHideTypeMeshControlsEdgeDensity, ShowHideTypeMeshControlsMappedEdgeDensity,
  ShowHideTypeMeshControlsFaceDensity, ShowHideTypeMeshControlsMappedHoleDensity, ShowHideTypeMeshControlsWeldRowDensity, ShowHideTypeMeshControlsFilletDensity,
  ShowHideTypeMeshControlsCylinderDensity, ShowHideTypeMeshControlsBoundaryLayer, ShowHideTypeMmc, ShowHideTypeMeshedPolygonBodies,
  ShowHideTypeUnmeshedPolygonBodies, ShowHideTypeMeshPoints, ShowHideTypePmiSketchDimensions, ShowHideTypeCaeBoundingVolumes,
  ShowHideTypeMeshControlsPointDensity, ShowHideTypeMeshControlsBoundingVolumeDensity, ShowHideTypeSelectionRecipes, ShowHideTypeSelectionRecipesBoundingVolume,
  ShowHideTypeSelectionRecipesSingleNode
}
 Controls the type of object to show or hide. More...
 

Public Member Functions

void BlankObjects (const std::vector< NXOpen::DisplayableObject * > &objects)
 Blank a set of displayable objects. More...
 
NXOpen::DisplayManager::FacetCacheMemoryLevelType FacetCacheMemoryLevel ()
 Returns the memory level of the display facet cache system. More...
 
std::vector
< NXOpen::DisplayManager::J3dData
GetJ3dData ()
 Returns the list of displayable entities along with display information for each entity in the displayed part. More...
 
bool 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. More...
 
std::vector< NXStringGetShowableHideableTypes ()
 Returns an array of all Registered ShowHideType strings. More...
 
int HideByType (NXOpen::DisplayManager::ShowHideType type, NXOpen::DisplayManager::ShowHideScope scope)
 Hides a set of objects by type. More...
 
int HideByType (const NXString &type, NXOpen::DisplayManager::ShowHideScope scope)
 Hides a set of objects by type. More...
 
int HideByType (const char *type, NXOpen::DisplayManager::ShowHideScope scope)
 Hides a set of objects by type. More...
 
void MakeUpToDate ()
 Ensures that previously invoked display operations are complete. More...
 
NXOpen::DisplayModificationNewDisplayModification ()
 Constructs a new NXOpen::DisplayModification object. More...
 
void SetFacetCacheMemoryLevel (NXOpen::DisplayManager::FacetCacheMemoryLevelType memoryLevel)
 Sets the memory level of the display facet cache system. More...
 
void ShowAdjacent (const std::vector< NXOpen::DisplayableObject * > &objects)
 Display objects adjacent to a set of displayable objects(NXOpen::CAE::CAEFace , NXOpen::CAE::CAEEdge ). More...
 
int ShowByType (NXOpen::DisplayManager::ShowHideType type, NXOpen::DisplayManager::ShowHideScope scope)
 Shows a set of objects by type. More...
 
int ShowByType (const NXString &type, NXOpen::DisplayManager::ShowHideScope scope)
 Shows a set of objects by type. More...
 
int ShowByType (const char *type, NXOpen::DisplayManager::ShowHideScope scope)
 Shows a set of objects by type. More...
 
void ShowNodesRelatedToDisplayedElements (bool includeInteriorNodes)
 Display all nodes related to displayed elements. More...
 
void 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. More...
 
void ShowOnly (const std::vector< NXOpen::DisplayableObject * > &objects)
 Show a set of displayable objects. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 
void UnblankObjects (const std::vector< NXOpen::DisplayableObject * > &objects)
 Unblank a set of displayable objects. More...
 

Detailed Description

Represents an object to manage display settings.

Input to this class can be PSM facet objects.
To obtain an instance of this class, refer to NXOpen::Session

Created in NX3.0.0.

Member Enumeration Documentation

Facet cache memory level.

See NXOpen::DisplayManager::FacetCacheMemoryLevel and NXOpen::DisplayManager::SetFacetCacheMemoryLevel

Enumerator
FacetCacheMemoryLevelTypeNone 

none

FacetCacheMemoryLevelTypeOne 

one

FacetCacheMemoryLevelTypeTwo 

two

FacetCacheMemoryLevelTypeThree 

three

Represents the layer settings when the objects to show are in invisible layers.

Enumerator
LayerSettingMoveObjectsToWorkLayer 

Move the objects to work layer if they are in invisible layer.

LayerSettingChangeLayerToSelectable 

Change the layer to selectable if it is invisible.

LayerSettingInvalid 

Last value, should not be used.

Controls the scope for the show hide operation.

See ShowByType and HideByType

Enumerator
ShowHideScopeAnyInAssembly 

Show and hide objects from the entire displayed part.

ShowHideScopeWorkPartAndOccurrence 

Show and hide objects only from the work part and its children.

Controls the type of object to show or hide.

See ShowByType and HideByType

Enumerator
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.

ShowHideTypeSheetPolygonBodies 

Show or hide sheet polygon bodies.

ShowHideTypeSolidPolygonBodies 

Show or hide solid polygon bodies.

ShowHideTypeMidsurfacePolygonBodies 

Show or hide midsurface polygon bodies.

ShowHideTypeFromMeshPolygonBodies 

Show or hide from mesh polygon bodies.

ShowHideTypeFlowPolygonBodies 

Show or hide flow 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 

Show or hide all CAE entities.

ShowHideTypeMeshes 

Show or hide all mesh types.

ShowHideTypeMesh0d 

Show or hide all 0d meshes.

ShowHideTypeMesh0dConcentratedMass 

Show or hide all 0d concentrated mass meshes.

ShowHideTypeMesh0dDistributedMass 

Show or hide all 0d distributed mass meshes.

ShowHideTypeMesh0dHeatBody 

Show or hide all 0d heat body meshes.

ShowHideTypeMesh0dNodeToGround 

Show or hide all 0d node to ground meshes.

ShowHideTypeMesh1d 

Show or hide all 1d mesh types.

ShowHideTypeMesh1dBar 

Show or hide all 1d bar mesh types.

ShowHideTypeMesh1dBeam 

Show or hide all 1d beam mesh types.

ShowHideTypeMesh1dRod 

Show or hide all 1d rod mesh types.

ShowHideTypeMesh1dBearing 

Show or hide all 1d bearing mesh types.

ShowHideTypeMesh1dRigidLink 

Show or hide all 1d rigid link mesh types.

ShowHideTypeMesh1dInterpolation 

Show or hide all 1d interpolation mesh types.

ShowHideTypeMesh1dSpring 

Show or hide all 1d spring mesh types.

ShowHideTypeMesh1dEdgeContact 

Show or hide all 1d edge contact mesh types.

ShowHideTypeMesh1dFaceContact 

Show or hide all 1d face contact mesh types.

ShowHideTypeMesh1dWeld 

Show or hide all 1d weld mesh types.

ShowHideTypeMesh1dEdgeFaceConnection 

Show or hide all 1d edge face connection mesh types.

ShowHideTypeMesh1dPlotel 

Show or hide all 1d PLOTEL mesh types.

ShowHideTypeMesh1dMass 

Show or hide all 1d massmesh types.

ShowHideTypeMesh1dMpc 

Show or hide all mpc mesh types.

ShowHideTypeMesh2d 

Show or hide all 2d meshes.

ShowHideTypeMesh2dTri3 

Show or hide all 2d meshes with triangular 3 node elements.

ShowHideTypeMesh2dTri6 

Show or hide all 2d meshes with triangular 6 node elements.

ShowHideTypeMesh2dQuad4 

Show or hide all 2d meshes with quadrilateral 4 node elements.

ShowHideTypeMesh2dQuad8 

Show or hide all 2d meshes with quadrilateral 8 node elements.

ShowHideTypeMesh3d 

Show or hide all 3d meshes.

ShowHideTypeMesh3dTet4 

Show or hide all 3d meshes with tetrahedral 4 node elements.

ShowHideTypeMesh3dTet10 

Show or hide all 3d meshes with tetrahedral 10 node elements.

ShowHideTypeMesh3dTetMixed 

Show or hide all 3d meshes with tetrahedral elements with dropped mid-nodes.

ShowHideTypeMesh3dHex8 

Show or hide all 3d meshes with hexahedral elements with 8 nodes.

ShowHideTypeMesh3dHex20 

Show or hide all 3d meshes with hexahedral elements with 20 nodes.

ShowHideTypeMesh3dHexcohes8 

Show or hide all 3d meshes with hexahedral cohesive elements with 8 nodes.

ShowHideTypeMesh3dHexcohes20 

Show or hide all 3d meshes with hexahedral cohesive elements with 20 nodes.

ShowHideTypeMesh3dWedge6 

Show or hide all 3d meshes with wedge elements with 6 nodes.

ShowHideTypeMesh3dWedge15 

Show or hide all 3d meshes with wedge elements with 15 nodes.

ShowHideTypeMesh3dWdgcohes6 

Show or hide all 3d meshes with wedge cohesive elements with 6 nodes.

ShowHideTypeMesh3dWdgcohes15 

Show or hide all 3d meshes with wedge cohesive elements with 15 nodes.

ShowHideTypeMesh3dPyramid5 

Show or hide all 3d meshes with pyramid elements with 5 nodes.

ShowHideTypeMesh3dPyramid13 

Show or hide all 3d meshes with pyramid elements with 13 nodes.

ShowHideTypeMesh3dPyramidMixed 

Show or hide all 3d meshes with pyramid elements with dropped mid-nodes.

ShowHideTypeDrawingObjects 

Show or hide all drafting types.

This includes drafting dimensions, Annotations, Custom Symbols, Tables and Images.

ShowHideTypeDrawingDimensions 

Show or hide all drafting dimensions.

ShowHideTypeDrawingAnnotation 

Show or hide all drafting annotations.

This includes drafting Notes, Feature Control Frames, Datum Feature Symbols, Datum Targets, Balloons, Surface Finish Symbol, Weld Symbol, Target Point Symbol, Intersection Symbol, Crosshatch, Area Fill and Centerlines.

ShowHideTypeDrawingNotes 

Show or hide all drafting Notes.

ShowHideTypeDrawingFeatureControlFrame 

Show or hide all drafting Feature Control Frames.

ShowHideTypeDrawingDatumFeatureSymbols 

Show or hide all drafting Datum Feature Symbols.

ShowHideTypeDrawingDatumTargets 

Show or hide all drafting Datum Targets.

ShowHideTypeDrawingBalloons 

Show or hide all drafting Balloons.

ShowHideTypeDrawingSurfaceFinishSymbols 

Show or hide all drafting Surface Finish Symbols.

ShowHideTypeDrawingWeldSymbols 

Show or hide all drafting Weld Symbols.

ShowHideTypeDrawingTargetPointSymbols 

Show or hide all drafting Target Point Symbols.

ShowHideTypeDrawingIntersectionSymbols 

Show or hide all drafting Intersection Symbols.

ShowHideTypeDrawingCrosshatch 

Show or hide all drafting Crosshatch.

ShowHideTypeDrawingAreaFill 

Show or hide all drafting Area Fill.

ShowHideTypeDrawingCenterlines 

Show or hide all drafting Centerlines.

ShowHideTypeDrawingCustomSymbols 

Show or hide all all drafting Custom Symbols.

ShowHideTypeDrawingTables 

Show or hide all drafting tables.

This includes Tabular Notes, Parts Lists and Title Blocks.

ShowHideTypeDrawingTabularNotes 

Show or hide all Tabular Notes.

ShowHideTypeDrawingPartsLists 

Show or hide all Parts Lists.

ShowHideTypeDrawingTitleBlocks 

Show or hide all Title Blocks.

ShowHideTypeDrawingHoleTables 

Show or hide all Hole Tables.

ShowHideTypeDrawingImages 

Show or hide all Images.

ShowHideTypePmiObject 

Show or hide all pmi objects.

ShowHideTypePmiObjectDimensions 

Show or hide all pmi dimensions.

ShowHideTypePmiAnnotations 

Show or hide all pmi annotations.

ShowHideTypePmiObjectNotes 

Show or hide all pmi notes.

ShowHideTypePmiFeatureControlFrames 

Show or hide all pmi feature control frames.

ShowHideTypePmiDatumFeatureSymbols 

Show or hide all pmi datum feature symbols.

ShowHideTypePmiDatumTargets 

Show or hide all pmi datum targets.

ShowHideTypePmiBalloons 

Show or hide all pmi balloons.

ShowHideTypePmiSurfaceFinishSymbols 

Show or hide all pmi surface finish symbols.

ShowHideTypePmiWeldSymbols 

Show or hide all pmi weld symbols.

ShowHideTypePmiCenterlines 

Show or hide all pmi centerlines.

ShowHideTypePmiRegions 

Show or hide all pmi regions.

ShowHideTypePmiTables 

Show or hide all pmi tables.

ShowHideTypePmiCustomSymbols 

Show or hide all pmi custom symbols.

ShowHideTypeComponents2d 

Show or hide 2d components.

ShowHideTypeImages 

Show or hide all images.

This includes raster images.

ShowHideTypeRasterImage 

Show or hide raster images.

ShowHideTypeAoAll 

Show or hide all analysis objects.

ShowHideTypeAoDeviationGauge 

Show or hide deviation gauge analysis objects.

ShowHideTypeAoSectionAnalysis 

Show or hide section analysis objects.

ShowHideTypeAoGridAnalysis 

Show or hide grid analysis objects.

ShowHideTypeAoHighlightLines 

Show or hide highlight lines analysis objects.

ShowHideTypeAoSurfaceContinuity 

Show or hide surface continuity analysis objects.

ShowHideTypeAoGapFlushness 

Show or hide gap and flushness analysis objects.

ShowHideTypeAoCurveContinuity 

Show or hide curve continuity analysis objects.

ShowHideTypeAoCurveCurvature 

Show or hide curve analysis objects.

ShowHideTypeAoSurfaceIntersection 

Show or hide surface intersection analysis objects.

ShowHideTypeAoDraftAnalysis 

Show or hide draft analysis objects.

ShowHideTypeAoTrimAngleCheck 

Show or hide trim angle check analysis objects.

ShowHideTypeAoMoldFlow 

Show or hide mold flow analysis objects.

ShowHideTypeAoLocalRadius 

Show or hide local radius analysis objects.

ShowHideTypeAoFaceCurvature 

Show or hide face curvature analysis objects.

ShowHideTypeAoFaceAnalysis 

Show or hide face analysis objects.

ShowHideTypeAoWallThickness 

Show or hide wall thickness analysis objects.

ShowHideTypeMeshControls 

Show or hide all mesh controls.

ShowHideTypeMeshControlsEdgeDensity 

Show or hide all mesh controls - edge density.

ShowHideTypeMeshControlsMappedEdgeDensity 

Show or hide all mesh controls - mapped edge density.

ShowHideTypeMeshControlsFaceDensity 

Show or hide all mesh controls - face density.

ShowHideTypeMeshControlsMappedHoleDensity 

Show or hide all mesh controls - mapped hole density.

ShowHideTypeMeshControlsWeldRowDensity 

Show or hide all mesh controls - weld row density.

ShowHideTypeMeshControlsFilletDensity 

Show or hide all mesh controls - fillet density.

ShowHideTypeMeshControlsCylinderDensity 

Show or hide all mesh controls - cylinder density.

ShowHideTypeMeshControlsBoundaryLayer 

Show or hide all mesh controls - boundary layer.

ShowHideTypeMmc 

Show or hide all mesh mating conditions.

ShowHideTypeMeshedPolygonBodies 

Show or hide meshed polygon bodies.

ShowHideTypeUnmeshedPolygonBodies 

Show or hide unmeshed polygon bodies.

ShowHideTypeMeshPoints 

Show or hide mesh points.

ShowHideTypePmiSketchDimensions 

Show or hide all pmi sketch dimensions.

ShowHideTypeCaeBoundingVolumes 

Show or hide all CAE bounding volumes.

ShowHideTypeMeshControlsPointDensity 

Show or hide all mesh controls - point density.

ShowHideTypeMeshControlsBoundingVolumeDensity 

Show or hide all mesh controls - bounding volume density.

ShowHideTypeSelectionRecipes 

Show or hide all selection recipes.

ShowHideTypeSelectionRecipesBoundingVolume 

Show or hide all bounding volume selection recipes.

ShowHideTypeSelectionRecipesSingleNode 

Show or hide all single node selection recipes.

Member Function Documentation

void NXOpen::DisplayManager::BlankObjects ( const std::vector< NXOpen::DisplayableObject * > &  objects)

Blank a set of displayable objects.

You may want to use NXOpen::View::FitAfterShowOrHide after using this method. Some displayable objects are not valid for this method and, if found in the objects input, will be ignored. These include face and edge objects of solid bodies.


Created in NX3.0.0.

License requirements : None

Parameters
objectsobjects
NXOpen::DisplayManager::FacetCacheMemoryLevelType NXOpen::DisplayManager::FacetCacheMemoryLevel ( )

Returns the memory level of the display facet cache system.


Facet cache memory level is used to manage the memory footprint of the display facet cache. Higher memory level implies higher memory footprint.

Facet caching can be turned off by setting the memory level to NXOpen::DisplayManager::FacetCacheMemoryLevelTypeNone . 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.


Created in NX10.0.0.

License requirements : None

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.

Returns
Array of entities and display data
Created in NX5.0.0.

License requirements : None
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.

Returns
true if vector data produced
Created in NX5.0.0.

License requirements : None
Parameters
eidentity to tesselate
toleranceadjustment factor for tesselation tolerance
wireframeif true generates wireframe solids
pointspolygon/vector points
normalspolygon normals
pointsPerStrippoints for each triangle strip
std::vector<NXString> NXOpen::DisplayManager::GetShowableHideableTypes ( )

Returns an array of all Registered ShowHideType strings.

Returns
Registered ShowHideType strings.
Created in NX9.0.0.

License requirements : None
int NXOpen::DisplayManager::HideByType ( NXOpen::DisplayManager::ShowHideType  type,
NXOpen::DisplayManager::ShowHideScope  scope 
)

Hides a set of objects by type.

You may want to use NXOpen::View::FitAfterShowOrHide after using this method.

Returns
The number of objects hidden
Deprecated:
Deprecated in NX9.0.0. Use NXOpen::DisplayManager::HideByType that takes a string type instead. To find all registered ShowHideType string use NXOpen::DisplayManager::GetShowableHideableTypes


Created in NX5.0.0.

License requirements : None

Parameters
typeThe type of object to hide
scopeThe scope for the show hide operation
int NXOpen::DisplayManager::HideByType ( const NXString type,
NXOpen::DisplayManager::ShowHideScope  scope 
)

Hides a set of objects by type.

You may want to use NXOpen::View::FitAfterShowOrHide after using this method.

Returns
The number of objects hidden
Created in NX9.0.0.

License requirements : None
Parameters
typeThe type of object to hide
scopeThe scope for the show hide operation
int NXOpen::DisplayManager::HideByType ( const char *  type,
NXOpen::DisplayManager::ShowHideScope  scope 
)

Hides a set of objects by type.

You may want to use NXOpen::View::FitAfterShowOrHide after using this method.

Returns
The number of objects hidden
Created in NX9.0.0.

License requirements : None
Parameters
typeThe type of object to hide
scopeThe scope for the show hide operation
void NXOpen::DisplayManager::MakeUpToDate ( )

Ensures that previously invoked display operations are complete.

Called only by NXOpen applications that directly invoke Windows, MFC, or Motif functions to display dialogs. This function is not needed when NXOpen dialogs are used.


Created in NX3.0.0.

License requirements : None

NXOpen::DisplayModification* NXOpen::DisplayManager::NewDisplayModification ( )

Constructs a new NXOpen::DisplayModification object.

Returns
The new DisplayModification instance
Created in NX3.0.0.

License requirements : None
void NXOpen::DisplayManager::SetFacetCacheMemoryLevel ( NXOpen::DisplayManager::FacetCacheMemoryLevelType  memoryLevel)

Sets the memory level of the display facet cache system.


Facet cache memory level is used to manage the memory footprint of the display facet cache. Higher memory level implies higher memory footprint.

Facet caching can be turned off by setting the memory level to NXOpen::DisplayManager::FacetCacheMemoryLevelTypeNone . 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.


Created in NX10.0.0.

License requirements : None

Parameters
memoryLevelmemorylevel
void NXOpen::DisplayManager::ShowAdjacent ( const std::vector< NXOpen::DisplayableObject * > &  objects)

Display objects adjacent to a set of displayable objects(NXOpen::CAE::CAEFace , NXOpen::CAE::CAEEdge ).

If NXOpen::CAE::CAEFace selected, display all it's neighbouring faces and associated edges. If NXOpen::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")

Parameters
objectsobjects
int NXOpen::DisplayManager::ShowByType ( NXOpen::DisplayManager::ShowHideType  type,
NXOpen::DisplayManager::ShowHideScope  scope 
)

Shows a set of objects by type.

You may want to use NXOpen::View::FitAfterShowOrHide after using this method.

Returns
The number of objects shown
Deprecated:
Deprecated in NX9.0.0. Use NXOpen::DisplayManager::ShowByType that takes a string type instead.


Created in NX5.0.0.

License requirements : None

Parameters
typeThe type of object to show
scopeThe scope for the show hide operation
int NXOpen::DisplayManager::ShowByType ( const NXString type,
NXOpen::DisplayManager::ShowHideScope  scope 
)

Shows a set of objects by type.

You may want to use NXOpen::View::FitAfterShowOrHide after using this method.

Returns
The number of objects shown
Created in NX9.0.0.

License requirements : None
Parameters
typeThe type of object to show
scopeThe scope for the show hide operation
int NXOpen::DisplayManager::ShowByType ( const char *  type,
NXOpen::DisplayManager::ShowHideScope  scope 
)

Shows a set of objects by type.

You may want to use NXOpen::View::FitAfterShowOrHide after using this method.

Returns
The number of objects shown
Created in NX9.0.0.

License requirements : None
Parameters
typeThe type of object to show
scopeThe scope for the show hide operation
void NXOpen::DisplayManager::ShowNodesRelatedToDisplayedElements ( bool  includeInteriorNodes)

Display all nodes related to displayed elements.

This function will do nothing if NXOpen::CAE::ModelDisplayBuilder has the node display mode set to NXOpen::CAE::ModelDisplayBuilder::NodeDisplayModeTypeImplicit
Created in NX8.5.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")

Parameters
includeInteriorNodesincludeinteriornodes
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.

  1. NXOpen::DisplayManager::LayerSettingMoveObjectsToWorkLayer - The objects will be moved to work layer before unblanking the objects if they are in invisible layer.
  2. NXOpen::DisplayManager::LayerSettingChangeLayerToSelectable - The objects layer will be changed to selectable if the layer is invisible


Created in NX5.0.2.

License requirements : None

Parameters
objectsobjects
layerSettingLayer setting option
void NXOpen::DisplayManager::ShowOnly ( const std::vector< NXOpen::DisplayableObject * > &  objects)

Show a set of displayable objects.

The objects selectable are: NXOpen::Curve , NXOpen::Point , NXOpen::CAE::MeshPoint , CSYS, NXOpen::Plane , Mesh, NXOpen::CAE::CAEBody , NXOpen::CAE::CAEFace , Load, Constraint and Simulation Object. You may want to use NXOpen::View::FitAfterShowOrHide after using this method.


Created in NX5.0.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")

Parameters
objectsobjects
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.

You may want to use NXOpen::View::FitAfterShowOrHide after using this method. Some displayable objects are not valid for this method and, if found in the objects input, will be ignored. These include face and edge objects of solid bodies.


Created in NX3.0.0.

License requirements : None

Parameters
objectsobjects

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.