> ## 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.

# PartCollection Class Reference

Represents the collection of all parts in a Speos For NX session.

Inheritance diagram for PartCollection:

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

## Public Member Functions

| Type | Name |
| - | - |
|  'None' | **Load** (self) Loads all open parts in the session. |
| '[Part](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r2/class_speos_n_x__2412_1_1_part.md)' | [FindFromName](#aec7a66a9a59128bd343c92d7d1477b7b) (self, name) Finds the part with the given name. |
| '[Part](https://developer.synopsys.com/docs/speos/speos-nx-library/2025-r2/class_speos_n_x__2412_1_1_part.md)' | [FindFromTag](#a4b9ad4999619b5bb0bb0bbe7763d1e88) (self, tag) Finds the part with the given Tag. |

## Static Public Attributes

| Type | Name |
| - | - |
| str | [Display](#af1c8834e1a848684931174b68c159f09) = property(fget=\_\_GetDisplay) Returns the currently active display part of the session. |
| str | [Work](#a9766a58ad26a4b4bb2719f332fdd09c8) = property(fget=\_\_GetWork) Returns the current work part of the session. |

## 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 collection of all parts in a Speos For NX session.

## Member Function Documentation

### FindFromName()

```python theme={null}
' Part ' FindFromName(
    self,
    name
)
```

Finds the part with the given name.

**Prerequisite**: The part must have been loaded in this session.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | name | : String. |

**Returns**

The part with the given name.

### FindFromTag()

```python theme={null}
' Part ' FindFromTag(
    self,
    tag
)
```

Finds the part with the given Tag.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | tag | : Integer. The Part Tag. |

**Returns**

The part with the given Tag.

## Member Data Documentation

### Display

```python theme={null}
str Display = property(fget=__GetDisplay)
```

`static`

Returns the currently active display part of the session.

**Returns**

The currently active display part.

### Work

```python theme={null}
str Work = property(fget=__GetWork)
```

`static`

Returns the current work part of the session.

**Returns**

The current work part.

The documentation for this class was generated from the following file:

* **SpeosNX\_2412.py**
