    

 ## On this page

  

 

 # Session Class Reference

 Last update: 16.07.2025 

Represents the Speos For NX session. [More...](#details)

Inheritance diagram for Session:

 ![](/sites/default/files/migrate-content/speos_nx_library_2025_r2_1/class_speos_n_x__2412_1_1_session.png)



## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 '[Preferences](class_speos_n_x__2412_1_1_preferences.xhtml)' [Preferences](#addcd2ba9f66e956c065f950c2b038a46) (self) Gets the session Speos Preferences.   
 ## <a id="pub-static-methods" name="pub-static-methods"></a>Static Public Member Functions

 '[Session](class_speos_n_x__2412_1_1_session.xhtml)' [GetSession](#a7bb3bdc5d797fe7f0376b4d6797eabf7) () Gets the unique instance of the Speos For NX session.   
 ## <a id="pub-static-attribs" name="pub-static-attribs"></a>Static Public Attributes

str [NXSessionTag](#a8ae3ec3b4c717182e5c91c3532ea78a3) = property(fget=\_\_GetNXSessionTag) Gets the NX Session Tag.   
 str [Parts](#a1360efb4b720a6ebcd40f7fda97d5be8) = property(fget=\_\_GetParts) Gets the part collection.   
 ## <a id="properties" name="properties"></a>Properties

<a id="a50e9fbdd6a13e9e50cfba34656086bb6" name="a50e9fbdd6a13e9e50cfba34656086bb6"></a> **thisown** = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') <a id="details" name="details"></a>## Detailed Description

Represents the Speos For NX session.

To obtain an instance of this class, refer to <a class="el" href="">Session::GetSession()</a>.



## Member Function Documentation

<a id="a7bb3bdc5d797fe7f0376b4d6797eabf7" name="a7bb3bdc5d797fe7f0376b4d6797eabf7"></a>## [◆ ](#a7bb3bdc5d797fe7f0376b4d6797eabf7)GetSession()

  '[Session](class_speos_n_x__2412_1_1_session.xhtml)' GetSession  ( )   static 

Gets the unique instance of the Speos For NX session.

Returns the singleton for <a class="el" href="">Session</a>.

ReturnsThe Speos For NX session. 



<a id="addcd2ba9f66e956c065f950c2b038a46" name="addcd2ba9f66e956c065f950c2b038a46"></a>## [◆ ](#addcd2ba9f66e956c065f950c2b038a46)Preferences()

  '[Preferences](class_speos_n_x__2412_1_1_preferences.xhtml)' [Preferences](class_speos_n_x__2412_1_1_preferences.xhtml)  (  *self*) 

Gets the session Speos Preferences.

Returns the <a class="el" href="">Preferences</a> belonging to this session.

ReturnsThe <a class="el" href="">Preferences</a>. 



## Member Data Documentation

<a id="a8ae3ec3b4c717182e5c91c3532ea78a3" name="a8ae3ec3b4c717182e5c91c3532ea78a3"></a>## [◆ ](#a8ae3ec3b4c717182e5c91c3532ea78a3)NXSessionTag

 str NXSessionTag = property(fget=\_\_GetNXSessionTag)  static 

Gets the NX Session Tag.

Returns the Tag for the NX Session.

ReturnsThe Tag as an integer. 



<a id="a1360efb4b720a6ebcd40f7fda97d5be8" name="a1360efb4b720a6ebcd40f7fda97d5be8"></a>## [◆ ](#a1360efb4b720a6ebcd40f7fda97d5be8)Parts

 str Parts = property(fget=\_\_GetParts)  static 

Gets the part collection.

Returns the <a class="el" href="">PartCollection</a> belonging to this session.

ReturnsThe <a class="el" href="">PartCollection</a>. 



---

The documentation for this class was generated from the following file:- **SpeosNX\_2412.py**