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

# CondensedPartBase

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

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

Defines a CondensedPartBase.

## Overview

### Methods

| Name | Description |
| - | - |
| [`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

| Name | Description |
| - | - |
| [`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. |

## Property detail

### *property* CondensedPartBase.Children *: List\[[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/Mechanical/DataModel/Interfaces/IDataModelObject.md#ansys.mechanical.stubs.v261.Ansys.Mechanical.DataModel.Interfaces.IDataModelObject)] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of children.

### *property* CondensedPartBase.Comments *: Iterable\[[Ansys.ACT.Automation.Mechanical.Comment](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/ACT/Automation/Mechanical/Comment.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.Comment)] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated comments.

### *property* CondensedPartBase.DataModelObjectCategory *: [Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/Mechanical/DataModel/Enums/DataModelObjectCategory.md#ansys.mechanical.stubs.v261.Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the current DataModelObject's category.

### *property* CondensedPartBase.Figures *: Iterable\[[Ansys.ACT.Automation.Mechanical.Figure](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/ACT/Automation/Mechanical/Figure.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.Figure)] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated figures.

### *property* CondensedPartBase.GeometrySelection *: [Ansys.ACT.Interfaces.Common.ISelectionInfo](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/ACT/Interfaces/Common/ISelectionInfo.md#ansys.mechanical.stubs.v261.Ansys.ACT.Interfaces.Common.ISelectionInfo) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the GeometrySelection.

### *property* CondensedPartBase.Images *: Iterable\[[Ansys.ACT.Automation.Mechanical.Image](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/ACT/Automation/Mechanical/Image.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.Image)] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated images.

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

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

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

### *property* CondensedPartBase.Physics *: [Ansys.Mechanical.DataModel.Enums.CondensedPartPhysics](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/Mechanical/DataModel/Enums/CondensedPartPhysics.md#ansys.mechanical.stubs.v261.Ansys.Mechanical.DataModel.Enums.CondensedPartPhysics) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the Physics.

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

### *property* CondensedPartBase.ReferenceTemperature *: [Ansys.Core.Units.Quantity](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/Core/Units/Quantity.md#ansys.mechanical.stubs.v261.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the ReferenceTemperature.

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

### *property* CondensedPartBase.SolutionNameMode *: [Ansys.Mechanical.DataModel.Enums.AutomaticOrManual](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/Mechanical/DataModel/Enums/AutomaticOrManual.md#ansys.mechanical.stubs.v261.Ansys.Mechanical.DataModel.Enums.AutomaticOrManual) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the SolutionNameMode.

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

### *property* CondensedPartBase.SolverUnitSystem *: [Ansys.Mechanical.DataModel.Enums.WBUnitSystemType](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/Mechanical/DataModel/Enums/WBUnitSystemType.md#ansys.mechanical.stubs.v261.Ansys.Mechanical.DataModel.Enums.WBUnitSystemType) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the SolverUnitSystem.

### *property* CondensedPartBase.SolverUnits *: [Ansys.Mechanical.DataModel.Enums.SolverUnitsControlType](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/Mechanical/DataModel/Enums/SolverUnitsControlType.md#ansys.mechanical.stubs.v261.Ansys.Mechanical.DataModel.Enums.SolverUnitsControlType) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the SolverUnits.

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

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

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

## Method detail

### CondensedPartBase.Activate() → [None](https://docs.python.org/3/library/constants.html#None)

Activate the current object.

### CondensedPartBase.AddCommandSnippet() → [Ansys.ACT.Automation.Mechanical.CommandSnippet](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/ACT/Automation/Mechanical/CommandSnippet.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.CommandSnippet)

Creates a new CommandSnippet

### CondensedPartBase.AddComment() → [Ansys.ACT.Automation.Mechanical.Comment](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/ACT/Automation/Mechanical/Comment.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.Comment)

Creates a new child Comment.

### CondensedPartBase.AddFigure() → [Ansys.ACT.Automation.Mechanical.Figure](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/ACT/Automation/Mechanical/Figure.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.Figure)

Creates a new child Figure.

### CondensedPartBase.AddImage(filePath: [str](https://docs.python.org/3/library/stdtypes.html#str)) → [Ansys.ACT.Automation.Mechanical.Image](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/ACT/Automation/Mechanical/Image.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.Image)

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

### CondensedPartBase.ClearGeneratedData() → [None](https://docs.python.org/3/library/constants.html#None)

Run the ClearGeneratedData action.

### CondensedPartBase.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) → [None](https://docs.python.org/3/library/constants.html#None)

Copies all visible properties from this object to another.

### CondensedPartBase.CreateParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str)) → Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

### CondensedPartBase.Delete() → [None](https://docs.python.org/3/library/constants.html#None)

Run the Delete action.

### CondensedPartBase.Duplicate() → [Ansys.Mechanical.DataModel.Interfaces.IDataModelObject](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/Mechanical/DataModel/Interfaces/IDataModelObject.md#ansys.mechanical.stubs.v261.Ansys.Mechanical.DataModel.Interfaces.IDataModelObject)

Creates a copy of the current DataModelObject.

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

Gets the list of children, filtered by type.

### CondensedPartBase.GetParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str)) → Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

### CondensedPartBase.GroupAllSimilarChildren() → [None](https://docs.python.org/3/library/constants.html#None)

Run the GroupAllSimilarChildren action.

### CondensedPartBase.GroupSimilarObjects() → [Ansys.ACT.Automation.Mechanical.TreeGroupingFolder](https://developer.synopsys.com/docs/mechanical/mechanical-scripting-interface/api/ansys/mechanical/stubs/v261/Ansys/ACT/Automation/Mechanical/TreeGroupingFolder.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.TreeGroupingFolder)

Run the GroupSimilarObjects action.

### CondensedPartBase.PropertyByAPIName(name: [str](https://docs.python.org/3/library/stdtypes.html#str)) → Ansys.ACT.Automation.Mechanical.Property

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

### CondensedPartBase.PropertyByName(name: [str](https://docs.python.org/3/library/stdtypes.html#str)) → Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

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

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