SessionVisualizationPerformance Class

class NXOpen.Preferences.SessionVisualizationPerformance

Bases: object

Represents visualization performance preferences that are applicable to the entire session.

To obtain an instance of this class, refer to NXOpen.Preferences.SessionPreferences

New in version NX11.0.0.

Properties

Property Description
RenderSolidsUsingStoredFacets Returns or sets the rendering of solids using stored facets during interactive mode.

Methods

Property Detail

RenderSolidsUsingStoredFacets

SessionVisualizationPerformance.RenderSolidsUsingStoredFacets

Returns or sets the rendering of solids using stored facets during interactive mode.

When a solid is rendered in non-lightweight mode, this preference can be enabled to use facets stored in the part if valid facets exist for the solid, even if those facets do not meet the current rendering parameters. This improves performance of certain shaded displays by avoiding need to tessellate the solid, though the visual quality may be impacted. E.g. when this preference is enabled, smooth edge settings (e.g. see use of NXOpen.Preferences.ViewVisualizationVisualSmoothEdgeWidth) are implicitly ignored to improve the performance.

This setting is ignored by NXOpen.ViewCollection.UpdateDisplay().

The display is not immediately regenerated when this setting is changed. Use NXOpen.ViewCollection.Regenerate() to update display.

-------------------------------------

Getter Method

Signature RenderSolidsUsingStoredFacets

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature RenderSolidsUsingStoredFacets

Parameters:useStoredFacets (bool) –

New in version NX11.0.0.

License requirements: None.