Skip to main content

Speos NX library 2025 R2

Session Class Reference

Last update: 16.07.2025

Represents the Speos For NX session. More...

Inheritance diagram for Session:

Public Member Functions

'PreferencesPreferences (self)
 Gets the session Speos Preferences.
 

Static Public Member Functions

'SessionGetSession ()
 Gets the unique instance of the Speos For NX session.
 

Static Public Attributes

str NXSessionTag = property(fget=__GetNXSessionTag)
 Gets the NX Session Tag.
 
str Parts = property(fget=__GetParts)
 Gets the part collection.
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Detailed Description

Represents the Speos For NX session.

To obtain an instance of this class, refer to Session::GetSession().

Member Function Documentation

◆ GetSession()

'Session' GetSession ( )
static

Gets the unique instance of the Speos For NX session.

Returns the singleton for Session.

Returns
The Speos For NX session.

◆ Preferences()

Gets the session Speos Preferences.

Returns the Preferences belonging to this session.

Returns
The Preferences.

Member Data Documentation

◆ NXSessionTag

str NXSessionTag = property(fget=__GetNXSessionTag)
static

Gets the NX Session Tag.

Returns the Tag for the NX Session.

Returns
The Tag as an integer.

◆ Parts

str Parts = property(fget=__GetParts)
static

Gets the part collection.

Returns the PartCollection belonging to this session.

Returns
The PartCollection.

The documentation for this class was generated from the following file:
  • SpeosNX_2412.py

Connect with Ansys