Skip to main content

Speos NX library 2025 R2

PartCollection Class Reference

Last update: 16.07.2025

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

Inheritance diagram for PartCollection:

Public Member Functions

'None' Load (self)
 Loads all open parts in the session.
 
'PartFindFromName (self, name)
 Finds the part with the given name.
 
'PartFindFromTag (self, tag)
 Finds the part with the given Tag.
 

Static Public Attributes

str Display = property(fget=__GetDisplay)
 Returns the currently active display part of the session.
 
str Work = property(fget=__GetWork)
 Returns the current work part of the session.
 

Properties

 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()

'Part' FindFromName ( self,
name )

Finds the part with the given name.

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

Parameters
[in]name: String.
Returns
The part with the given name.

◆ FindFromTag()

'Part' FindFromTag ( self,
tag )

Finds the part with the given Tag.

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

Member Data Documentation

◆ Display

str Display = property(fget=__GetDisplay)
static

Returns the currently active display part of the session.

Returns
The currently active display part.

◆ Work

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

Connect with Ansys