SessionPreferences Class — NXOpen Python API Reference 12.0.0 documentation

# SessionPreferences Class

class `NXOpen.Preferences.``SessionPreferences`

  Bases: `object`

  Represents a collection of session based preferences.

  To obtain an instance of this class, refer to `NXOpen.Session`

  New in version NX3.0.0.

  “Sketch”, “Returns object for doing sketch preferences settings applicable to entire session ” “NXGateway”, “Returns object for doing NXGateway preferences settings applicable to entire session ” “Assemblies”, “Returns object for doing Asseblies preferences settings applicable to entire session ” “WorkPlane”, “Returns object for doing WorkPlane preferences settings applicable to entire session ” “Modeling”, “Returns object for doing Modeling preferences settings applicable to entire session ” “Drafting”, “Returns object for doing Drafting preferences settings applicable to entire session ” “Pmi”, “Returns object for doing Pmi preferences settings applicable to entire session ” “UserInterface”, “Returns object for doing Selection preferences settings applicable to entire session ” “PerformanceVisualization”, “Returns object for doing Visualization Performance preferences settings applicable to entire session ” “ScreenVisualization”, “Returns object for doing Visualization Screen preferences settings applicable to entire session ” “ColorSettingVisualization”, “Returns object for doing Visualization preferences settings applicable to entire session ” “HighQualityImageVisualization”, “Returns object for doing Visualization High Quality Image preferences settings applicable to entire session ” “SpecialEffectsVisualization”, “Returns object for doing Visualization Special Effects preferences settings applicable to entire session ” “RoutingApplicationView”, “Returns the Routing Application View preferences. ” “KnowledgeFusion”, “Returns object for doing Rule preferences settings applicable to entire session ” “Pdm”, “Returns object for doing Pdm preference settings applicable to entire session ” “SessionMeasureReq”, “Returns object for doing Measure Requirements in Assembly Sequencing applicable to the entire session ” “VisualizationHandles”, “Returns the Visualization Handles preferences ” “SubdivisionModeling”, “Returns object for doing Subdivision Modeling preferences settings applicable to entire session ” “VisualizationFonts”, “Returns the Visualization Fonts preferences ” “EmphasisVisualization”, “Returns object for doing Visualization Emphasis preferences settings applicable to entire session ” “PostProcessing”, “Returns the CAE Post Processing preferences ” “HighEndRenderingVisualization”, “Returns object for doing Visualization Performance preferences settings applicable to entire session “

# Methods

Method | Description
--- | ---
CreateViewSectionPreference | Create a `NXOpen.Preferences.ViewSection` object

## Sketch

`SessionPreferences.``Sketch`

  Returns object for doing sketch preferences settings applicable to entire session

  Signature `Sketch`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionSketch`

## NXGateway

`SessionPreferences.``NXGateway`

  Returns object for doing NXGateway preferences settings applicable to entire session

  Signature `NXGateway`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionNXGateway`

## Assemblies

`SessionPreferences.``Assemblies`

  Returns object for doing Asseblies preferences settings applicable to entire session

  Signature `Assemblies`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionAssemblies`

## WorkPlane

`SessionPreferences.``WorkPlane`

  Returns object for doing WorkPlane preferences settings applicable to entire session

  Signature `WorkPlane`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionWorkPlane`

## Modeling

`SessionPreferences.``Modeling`

  Returns object for doing Modeling preferences settings applicable to entire session

  Signature `Modeling`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionModeling`

## Drafting

`SessionPreferences.``Drafting`

  Returns object for doing Drafting preferences settings applicable to entire session

  Signature `Drafting`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionDrafting`

## Pmi

`SessionPreferences.``Pmi`

  Returns object for doing Pmi preferences settings applicable to entire session

  Signature `Pmi`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionPmi`

## UserInterface

`SessionPreferences.``UserInterface`

  Returns object for doing Selection preferences settings applicable to entire session

  Signature `UserInterface`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionUserInterface`

## PerformanceVisualization

`SessionPreferences.``PerformanceVisualization`

  Returns object for doing Visualization Performance preferences settings applicable to entire session

  Signature `PerformanceVisualization`

  New in version NX11.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionVisualizationPerformance`

## ScreenVisualization

`SessionPreferences.``ScreenVisualization`

  Returns object for doing Visualization Screen preferences settings applicable to entire session

  Signature `ScreenVisualization`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionVisualizationScreen`

## ColorSettingVisualization

`SessionPreferences.``ColorSettingVisualization`

  Returns object for doing Visualization preferences settings applicable to entire session

  Signature `ColorSettingVisualization`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionVisualizationColorSetting`

## HighQualityImageVisualization

`SessionPreferences.``HighQualityImageVisualization`

  Returns object for doing Visualization High Quality Image preferences settings applicable to entire session

  Signature `HighQualityImageVisualization`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionVisualizationHighQualityImage`

## SpecialEffectsVisualization

`SessionPreferences.``SpecialEffectsVisualization`

  Returns object for doing Visualization Special Effects preferences settings applicable to entire session

  Signature `SpecialEffectsVisualization`

  New in version NX9.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionVisualizationSpecialEffects`

## RoutingApplicationView

`SessionPreferences.``RoutingApplicationView`

  Returns the Routing Application View preferences.

  Signature `RoutingApplicationView`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.RoutingApplicationView`

## KnowledgeFusion

`SessionPreferences.``KnowledgeFusion`

  Returns object for doing Rule preferences settings applicable to entire session

  Signature `KnowledgeFusion`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.RulePreferences`

## Pdm

`SessionPreferences.``Pdm`

  Returns object for doing Pdm preference settings applicable to entire session

  Signature `Pdm`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionPdm`

## SessionMeasureReq

`SessionPreferences.``SessionMeasureReq`

  Returns object for doing Measure Requirements in Assembly Sequencing applicable to the entire session

  Signature `SessionMeasureReq`

  New in version NX3.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionMeasureRequirements`

## VisualizationHandles

`SessionPreferences.``VisualizationHandles`

  Returns the Visualization Handles preferences

  Signature `VisualizationHandles`

  New in version NX7.5.0.

  Returns: |
  Return type: | `NXOpen.Preferences.VisualizationHandles`

## SubdivisionModeling

`SessionPreferences.``SubdivisionModeling`

  Returns object for doing Subdivision Modeling preferences settings applicable to entire session

  Signature `SubdivisionModeling`

  New in version NX9.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SubdivisionModelingPreferences`

## VisualizationFonts

`SessionPreferences.``VisualizationFonts`

  Returns the Visualization Fonts preferences

  Signature `VisualizationFonts`

  New in version NX8.0.0.

  Returns: |
  Return type: | `NXOpen.Preferences.VisualizationFonts`

## EmphasisVisualization

`SessionPreferences.``EmphasisVisualization`

  Returns object for doing Visualization Emphasis preferences settings applicable to entire session

  Signature `EmphasisVisualization`

  New in version NX8.5.0.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionVisualizationEmphasis`

## PostProcessing

`SessionPreferences.``PostProcessing`

  Returns the CAE Post Processing preferences

  Signature `PostProcessing`

  New in version NX8.0.1.

  Returns: |
  Return type: | `NXOpen.Preferences.PostProcessing`

## HighEndRenderingVisualization

`SessionPreferences.``HighEndRenderingVisualization`

  Returns object for doing Visualization Performance preferences settings applicable to entire session

  Signature `HighEndRenderingVisualization`

  New in version NX11.0.1.

  Returns: |
  Return type: | `NXOpen.Preferences.SessionVisualizationHighEndRendering`

# Method Detail

## CreateViewSectionPreference

`SessionPreferences.``CreateViewSectionPreference`

  Create a `NXOpen.Preferences.ViewSection` object

  Signature `CreateViewSectionPreference()`

  Returns: |
  Return type: | `NXOpen.Preferences.ViewSection`

  New in version NX7.5.0.

  License requirements: None.