    

 ## On this page

  

 

 # `CondensedPartBase`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v251.Ansys.ACT.Automation.Mechanical.CondensedPartBase"></a>

#### *class* Ansys.ACT.Automation.Mechanical.CondensedPartBase

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

Defines a CondensedPartBase.

<a id="overview"></a>

## Overview

### Methods

NameDescription[`Activate`](#CondensedPartBase.Activate)Activate the current object.[`AddCommandSnippet`](#CondensedPartBase.AddCommandSnippet)Creates a new CommandSnippet[`AddComment`](#CondensedPartBase.AddComment)Creates a new child Comment.[`AddFigure`](#CondensedPartBase.AddFigure)Creates a new child Figure.[`AddImage`](#CondensedPartBase.AddImage)Creates a new child Image.[`ClearGeneratedData`](#CondensedPartBase.ClearGeneratedData)Run the ClearGeneratedData action.[`CopyTo`](#CondensedPartBase.CopyTo)Copies all visible properties from this object to another.[`CreateParameter`](#CondensedPartBase.CreateParameter)Creates a new parameter for a Property.[`Delete`](#CondensedPartBase.Delete)Run the Delete action.[`Duplicate`](#CondensedPartBase.Duplicate)Creates a copy of the current DataModelObject.[`GetChildren`](#CondensedPartBase.GetChildren)Gets the list of children, filtered by type.[`GetParameter`](#CondensedPartBase.GetParameter)Gets the parameter corresponding to the given property.[`GroupAllSimilarChildren`](#CondensedPartBase.GroupAllSimilarChildren)Run the GroupAllSimilarChildren action.[`GroupSimilarObjects`](#CondensedPartBase.GroupSimilarObjects)Run the GroupSimilarObjects action.[`PropertyByAPIName`](#CondensedPartBase.PropertyByAPIName)Get a property by its API name.[`PropertyByName`](#CondensedPartBase.PropertyByName)Get a property by its unique name.[`RemoveParameter`](#CondensedPartBase.RemoveParameter)Removes the parameter from the parameter set corresponding to the given property.### Properties

NameDescription[`Children`](#CondensedPartBase.Children)Gets the list of children.[`Comments`](#CondensedPartBase.Comments)Gets the list of associated comments.[`DataModelObjectCategory`](#CondensedPartBase.DataModelObjectCategory)Gets the current DataModelObject’s category.[`Figures`](#CondensedPartBase.Figures)Gets the list of associated figures.[`GeometrySelection`](#CondensedPartBase.GeometrySelection)Gets or sets the GeometrySelection.[`Images`](#CondensedPartBase.Images)Gets the list of associated images.[`InternalObject`](#CondensedPartBase.InternalObject)Gets the internal object. For advanced usage only.[`NumberInterfaceEntries`](#CondensedPartBase.NumberInterfaceEntries)Gets the NumberInterfaceEntries.[`NumberMasterNodes`](#CondensedPartBase.NumberMasterNodes)Gets the NumberMasterNodes.[`Physics`](#CondensedPartBase.Physics)Gets the Physics.[`Properties`](#CondensedPartBase.Properties)Gets the list of properties for this object.[`ReferenceTemperature`](#CondensedPartBase.ReferenceTemperature)Gets or sets the ReferenceTemperature.[`SolutionName`](#CondensedPartBase.SolutionName)Gets or sets the SolutionName.[`SolutionNameMode`](#CondensedPartBase.SolutionNameMode)Gets or sets the SolutionNameMode.[`SolverFilesDirectory`](#CondensedPartBase.SolverFilesDirectory)Gets the SolverFilesDirectory.[`SolverUnitSystem`](#CondensedPartBase.SolverUnitSystem)Gets or sets the SolverUnitSystem.[`SolverUnits`](#CondensedPartBase.SolverUnits)Gets or sets the SolverUnits.[`Suppressed`](#CondensedPartBase.Suppressed)Gets or sets the Suppressed.[`TemperatureUnits`](#CondensedPartBase.TemperatureUnits)Gets the TemperatureUnits.[`VisibleProperties`](#CondensedPartBase.VisibleProperties)Gets the list of properties that are visible for this object.<a id="property-detail"></a>

## Property detail

<a id="CondensedPartBase.Children"></a>

### *property* CondensedPartBase.Children *: List\[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of children.

<a id="CondensedPartBase.Comments"></a>

### *property* CondensedPartBase.Comments *: Iterable\[[Ansys.ACT.Automation.Mechanical.Comment](Comment.md#ansys.mechanical.stubs.v251.Ansys.ACT.Automation.Mechanical.Comment)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated comments.

<a id="CondensedPartBase.DataModelObjectCategory"></a>

### *property* CondensedPartBase.DataModelObjectCategory *: [Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory](../../../Mechanical/DataModel/Enums/DataModelObjectCategory.md#ansys.mechanical.stubs.v251.Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the current DataModelObject’s category.

<a id="CondensedPartBase.Figures"></a>

### *property* CondensedPartBase.Figures *: Iterable\[[Ansys.ACT.Automation.Mechanical.Figure](Figure.md#ansys.mechanical.stubs.v251.Ansys.ACT.Automation.Mechanical.Figure)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated figures.

<a id="CondensedPartBase.GeometrySelection"></a>

### *property* CondensedPartBase.GeometrySelection *: Ansys.ACT.Interfaces.Common.ISelectionInfo | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the GeometrySelection.

<a id="CondensedPartBase.Images"></a>

### *property* CondensedPartBase.Images *: Iterable\[[Ansys.ACT.Automation.Mechanical.Image](Image.md#ansys.mechanical.stubs.v251.Ansys.ACT.Automation.Mechanical.Image)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated images.

<a id="CondensedPartBase.InternalObject"></a>

### *property* CondensedPartBase.InternalObject *: Ansys.Common.Interop.DSObjectsAuto.IDSCondensedPartAuto | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the internal object. For advanced usage only.

<a id="CondensedPartBase.NumberInterfaceEntries"></a>

### *property* CondensedPartBase.NumberInterfaceEntries *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the NumberInterfaceEntries.

<a id="CondensedPartBase.NumberMasterNodes"></a>

### *property* CondensedPartBase.NumberMasterNodes *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the NumberMasterNodes.

<a id="CondensedPartBase.Physics"></a>

### *property* CondensedPartBase.Physics *: [Ansys.Mechanical.DataModel.Enums.CondensedPartPhysics](../../../Mechanical/DataModel/Enums/CondensedPartPhysics.md#ansys.mechanical.stubs.v251.Ansys.Mechanical.DataModel.Enums.CondensedPartPhysics) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the Physics.

<a id="CondensedPartBase.Properties"></a>

### *property* CondensedPartBase.Properties *: [tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\[Ansys.ACT.Automation.Mechanical.Property\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of properties for this object.

<a id="CondensedPartBase.ReferenceTemperature"></a>

### *property* CondensedPartBase.ReferenceTemperature *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the ReferenceTemperature.

<a id="CondensedPartBase.SolutionName"></a>

### *property* CondensedPartBase.SolutionName *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the SolutionName.

<a id="CondensedPartBase.SolutionNameMode"></a>

### *property* CondensedPartBase.SolutionNameMode *: [Ansys.Mechanical.DataModel.Enums.AutomaticOrManual](../../../Mechanical/DataModel/Enums/AutomaticOrManual.md#ansys.mechanical.stubs.v251.Ansys.Mechanical.DataModel.Enums.AutomaticOrManual) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the SolutionNameMode.

<a id="CondensedPartBase.SolverFilesDirectory"></a>

### *property* CondensedPartBase.SolverFilesDirectory *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the SolverFilesDirectory.

<a id="CondensedPartBase.SolverUnitSystem"></a>

### *property* CondensedPartBase.SolverUnitSystem *: [Ansys.Mechanical.DataModel.Enums.WBUnitSystemType](../../../Mechanical/DataModel/Enums/WBUnitSystemType.md#ansys.mechanical.stubs.v251.Ansys.Mechanical.DataModel.Enums.WBUnitSystemType) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the SolverUnitSystem.

<a id="CondensedPartBase.SolverUnits"></a>

### *property* CondensedPartBase.SolverUnits *: [Ansys.Mechanical.DataModel.Enums.SolverUnitsControlType](../../../Mechanical/DataModel/Enums/SolverUnitsControlType.md#ansys.mechanical.stubs.v251.Ansys.Mechanical.DataModel.Enums.SolverUnitsControlType) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the SolverUnits.

<a id="CondensedPartBase.Suppressed"></a>

### *property* CondensedPartBase.Suppressed *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Suppressed.

<a id="CondensedPartBase.TemperatureUnits"></a>

### *property* CondensedPartBase.TemperatureUnits *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the TemperatureUnits.

<a id="CondensedPartBase.VisibleProperties"></a>

### *property* CondensedPartBase.VisibleProperties *: [tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\[Ansys.ACT.Automation.Mechanical.Property\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of properties that are visible for this object.

<a id="method-detail"></a>

## Method detail

<a id="CondensedPartBase.Activate"></a>

### CondensedPartBase.Activate()

Activate the current object.

<a id="CondensedPartBase.AddCommandSnippet"></a>

### CondensedPartBase.AddCommandSnippet()

Creates a new CommandSnippet

<a id="CondensedPartBase.AddComment"></a>

### CondensedPartBase.AddComment()

Creates a new child Comment.

<a id="CondensedPartBase.AddFigure"></a>

### CondensedPartBase.AddFigure()

Creates a new child Figure.

<a id="CondensedPartBase.AddImage"></a>

### CondensedPartBase.AddImage(filePath: [str](https://docs.python.org/3/library/stdtypes.html#str))

```text
Creates a new child Image.
If a filePath is provided, the image will be loaded from that file,
if not, the image will be a screen capture of the Geometry window.

```

<a id="CondensedPartBase.ClearGeneratedData"></a>

### CondensedPartBase.ClearGeneratedData()

Run the ClearGeneratedData action.

<a id="CondensedPartBase.CopyTo"></a>

### CondensedPartBase.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)

Copies all visible properties from this object to another.

<a id="CondensedPartBase.CreateParameter"></a>

### CondensedPartBase.CreateParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str))

Creates a new parameter for a Property.

<a id="CondensedPartBase.Delete"></a>

### CondensedPartBase.Delete()

Run the Delete action.

<a id="CondensedPartBase.Duplicate"></a>

### CondensedPartBase.Duplicate()

Creates a copy of the current DataModelObject.

<a id="CondensedPartBase.GetChildren"></a>

### CondensedPartBase.GetChildren(recurses: [bool](https://docs.python.org/3/library/functions.html#bool), children: List\[ChildrenType\])

Gets the list of children, filtered by type.

<a id="CondensedPartBase.GetParameter"></a>

### CondensedPartBase.GetParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str))

Gets the parameter corresponding to the given property.

<a id="CondensedPartBase.GroupAllSimilarChildren"></a>

### CondensedPartBase.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

<a id="CondensedPartBase.GroupSimilarObjects"></a>

### CondensedPartBase.GroupSimilarObjects()

Run the GroupSimilarObjects action.

<a id="CondensedPartBase.PropertyByAPIName"></a>

### CondensedPartBase.PropertyByAPIName(name: [str](https://docs.python.org/3/library/stdtypes.html#str))

```text
Get a property by its API name.
If multiple properties have the same API Name, only the first property with that name will be returned.

```

<a id="CondensedPartBase.PropertyByName"></a>

### CondensedPartBase.PropertyByName(name: [str](https://docs.python.org/3/library/stdtypes.html#str))

Get a property by its unique name.

<a id="CondensedPartBase.RemoveParameter"></a>

### CondensedPartBase.RemoveParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str))

Removes the parameter from the parameter set corresponding to the given property.