    

 ## On this page

  

 

 # PartCollection Class Reference

 Last update: 17.07.2025 

Represents the collection of all parts in a Speos For NX session. [More...](#details)

Inheritance diagram for PartCollection:

 ![](/sites/default/files/migrate-content/speos_nx_2024_r2/class_speos_n_x_1_1_part_collection.png)



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

<a id="a61d55b3161bc825e1df799cdb110d7ff" name="a61d55b3161bc825e1df799cdb110d7ff"></a> **Load** (self) Loads all open parts in the session.   
  [FindFromName](#a90bc7a74a7ab1d63cb1b87a781d8ae6f) (self, name) Finds the part with the given name.   
  [FindFromTag](#a081b01090a58981bf1a844f173c8d054) (self, tag) Finds the part with the given Tag.   
 ## <a id="properties" name="properties"></a>Properties

 [Display](#a0d0f740ae3a262d3a0514dd828282050) = property(fget = \_\_GetDisplay) Returns the currently active display part of the session.   
  [Work](#a5e6876179c36243e29edd4fa5d516ebb) = property(fget = \_\_GetWork) Returns the current work part of the session.   
 <a id="details" name="details"></a>## Detailed Description

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



## Member Function Documentation

<a id="a90bc7a74a7ab1d63cb1b87a781d8ae6f" name="a90bc7a74a7ab1d63cb1b87a781d8ae6f"></a>## [◆ ](#a90bc7a74a7ab1d63cb1b87a781d8ae6f)FindFromName()

 FindFromName  (  *self*,     *name* )

Finds the part with the given name.

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

Parameters \[in\]name: String. ReturnsThe part with the given name. 



<a id="a081b01090a58981bf1a844f173c8d054" name="a081b01090a58981bf1a844f173c8d054"></a>## [◆ ](#a081b01090a58981bf1a844f173c8d054)FindFromTag()

 FindFromTag  (  *self*,     *tag* )

Finds the part with the given Tag.

Parameters \[in\]tag: Integer. The Part Tag. ReturnsThe part with the given Tag. 



## Property Documentation

<a id="a0d0f740ae3a262d3a0514dd828282050" name="a0d0f740ae3a262d3a0514dd828282050"></a>## [◆ ](#a0d0f740ae3a262d3a0514dd828282050)Display

 Display = property(fget = \_\_GetDisplay)  static 

Returns the currently active display part of the session.

ReturnsThe currently active display part. 



<a id="a5e6876179c36243e29edd4fa5d516ebb" name="a5e6876179c36243e29edd4fa5d516ebb"></a>## [◆ ](#a5e6876179c36243e29edd4fa5d516ebb)Work

 Work = property(fget = \_\_GetWork)  static 

Returns the current work part of the session.

ReturnsThe current work part. 



---

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