SessionPmi Class — NXOpen Python API Reference 12.0.0 documentation

# SessionPmi Class

class `NXOpen.Preferences.``SessionPmi`

  Bases: `object`

  Represents the set of PMI preferences applicable to entire session

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

  New in version NX4.0.0.

# Properties

Property | Description
--- | ---
AssocHighlightColor | Returns or sets the associated highlight color
ReadingDirection | Returns or sets the reading direction preference

# Methods

Method | Description
--- | ---
UpdateTrackingPropertiesFromXml | Update tracking properties

# Property Detail

## AssocHighlightColor

`SessionPmi.``AssocHighlightColor`

  Returns or sets the associated highlight color

  `-------------------------------------`

  Getter Method

  Signature `AssocHighlightColor`

  Returns: |
  Return type: | int

  New in version NX4.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `AssocHighlightColor`

  Parameters: | assocHighlightColor (int) –

  New in version NX4.0.0.

  License requirements: None.

## ReadingDirection

`SessionPmi.``ReadingDirection`

  Returns or sets the reading direction preference

  `-------------------------------------`

  Getter Method

  Signature `ReadingDirection`

  Returns: |
  Return type: | bool

  New in version NX4.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `ReadingDirection`

  Parameters: | readingDirection (bool) –

  New in version NX4.0.0.

  License requirements: None.

# Method Detail

## UpdateTrackingPropertiesFromXml

`SessionPmi.``UpdateTrackingPropertiesFromXml`

  Update tracking properties

  Signature `UpdateTrackingPropertiesFromXml()`

  New in version NX9.0.0.

  License requirements: None.