> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Session Class Reference

Represents the Speos For NX session.

Inheritance diagram for Session:

![](https://mintcdn.com/synopsys-00a47cbc/Srh1_f--TdKCLyqD/docs/speos/speos-nx-library/2025-r2/class_speos_n_x__2412_1_1_session.png?fit=max\&auto=format\&n=Srh1_f--TdKCLyqD\&q=85\&s=8b8342b6f2b7c96e98070d551bbd8b8b)

## Public Member Functions

| Type | Name |
| - | - |
| '[Preferences](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r2/class_speos_n_x__2412_1_1_preferences.md)' | [Preferences](#addcd2ba9f66e956c065f950c2b038a46) (self) Gets the session Speos Preferences. |

## Static Public Member Functions

| Type | Name |
| - | - |
| '[Session](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r2/class_speos_n_x__2412_1_1_session.md)' | [GetSession](#a7bb3bdc5d797fe7f0376b4d6797eabf7) () Gets the unique instance of the Speos For NX session. |

## Static Public Attributes

| Type | Name |
| - | - |
| str | [NXSessionTag](#a8ae3ec3b4c717182e5c91c3532ea78a3) = property(fget=\_\_GetNXSessionTag) Gets the NX Session Tag. |
| str | [Parts](#a1360efb4b720a6ebcd40f7fda97d5be8) = property(fget=\_\_GetParts) Gets the part collection. |

## Properties

| Type | Name |
| - | - |
| | **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()

```python theme={null}
' 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()

```python theme={null}
' Preferences ' Preferences(self)
```

Gets the session Speos Preferences.

Returns the Preferences belonging to this session.

**Returns**

The Preferences.

## Member Data Documentation

### NXSessionTag

```python theme={null}
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

```python theme={null}
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**
