    

 ## On this page

  

 

 # `CondensedGeometry`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.CondensedGeometry"></a>

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

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

Defines a CondensedGeometry.

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

## Overview

### Methods

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

NameDescription[`Children`](#CondensedGeometry.Children)Gets the list of children.[`Comments`](#CondensedGeometry.Comments)Gets the list of associated comments.[`DataModelObjectCategory`](#CondensedGeometry.DataModelObjectCategory)Gets the current DataModelObject's category.[`Figures`](#CondensedGeometry.Figures)Gets the list of associated figures.[`Images`](#CondensedGeometry.Images)Gets the list of associated images.[`InternalObject`](#CondensedGeometry.InternalObject)Gets the internal object. For advanced usage only.[`Properties`](#CondensedGeometry.Properties)Gets the list of properties for this object.[`SolverFilesDirectory`](#CondensedGeometry.SolverFilesDirectory)Gets the SolverFilesDirectory.[`TransparencyEnabled`](#CondensedGeometry.TransparencyEnabled)Gets or sets the TransparencyEnabled.[`VisibleProperties`](#CondensedGeometry.VisibleProperties)Gets the list of properties that are visible for this object.<a id="property-detail"></a>

## Property detail

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

### *property* CondensedGeometry.Children *: List\[[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject](../../../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.

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

### *property* CondensedGeometry.Comments *: Iterable\[[Ansys.ACT.Automation.Mechanical.Comment](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.

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

### *property* CondensedGeometry.DataModelObjectCategory *: [Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory](../../../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.

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

### *property* CondensedGeometry.Figures *: Iterable\[[Ansys.ACT.Automation.Mechanical.Figure](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.

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

### *property* CondensedGeometry.Images *: Iterable\[[Ansys.ACT.Automation.Mechanical.Image](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.

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

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

Gets the internal object. For advanced usage only.

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

### *property* CondensedGeometry.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="CondensedGeometry.SolverFilesDirectory"></a>

### *property* CondensedGeometry.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="CondensedGeometry.TransparencyEnabled"></a>

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

Gets or sets the TransparencyEnabled.

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

### *property* CondensedGeometry.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="CondensedGeometry.Activate"></a>

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

Activate the current object.

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

### CondensedGeometry.AddComment() → [Ansys.ACT.Automation.Mechanical.Comment](Comment.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.Comment)

Creates a new child Comment.

<a id="CondensedGeometry.AddCondensedPart"></a>

### CondensedGeometry.AddCondensedPart() → [Ansys.ACT.Automation.Mechanical.CondensedPart](CondensedPart.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.CondensedPart)

Creates a new CondensedPart

<a id="CondensedGeometry.AddCondensedPartInfoTool"></a>

### CondensedGeometry.AddCondensedPartInfoTool() → [Ansys.ACT.Automation.Mechanical.CondensedPartInfoTool](CondensedPartInfoTool.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.CondensedPartInfoTool)

Creates a new CondensedPartInfoTool

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

### CondensedGeometry.AddFigure() → [Ansys.ACT.Automation.Mechanical.Figure](Figure.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.Figure)

Creates a new child Figure.

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

### CondensedGeometry.AddImage(filePath: [str](https://docs.python.org/3/library/stdtypes.html#str)) → [Ansys.ACT.Automation.Mechanical.Image](Image.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.Image)

```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="CondensedGeometry.AddImportedCondensedPart"></a>

### CondensedGeometry.AddImportedCondensedPart() → [Ansys.ACT.Automation.Mechanical.ImportedCondensedPart](ImportedCondensedPart.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.ImportedCondensedPart)

Creates a new ImportedCondensedPart

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

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

Run the ClearGeneratedData action.

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

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

<a id="CondensedGeometry.CreateAutomaticCondensedParts"></a>

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

Run the CreateAutomaticCondensedParts action.

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

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

Creates a new parameter for a Property.

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

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

Run the Delete action.

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

### CondensedGeometry.Duplicate() → [Ansys.Mechanical.DataModel.Interfaces.IDataModelObject](../../../Mechanical/DataModel/Interfaces/IDataModelObject.md#ansys.mechanical.stubs.v261.Ansys.Mechanical.DataModel.Interfaces.IDataModelObject)

Creates a copy of the current DataModelObject.

<a id="CondensedGeometry.GenerateCondensedParts"></a>

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

Run the GenerateCondensedParts action.

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

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

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

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

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

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

Run the GroupAllSimilarChildren action.

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

### CondensedGeometry.GroupSimilarObjects() → [Ansys.ACT.Automation.Mechanical.TreeGroupingFolder](TreeGroupingFolder.md#ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.TreeGroupingFolder)

Run the GroupSimilarObjects action.

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

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

```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="CondensedGeometry.PropertyByName"></a>

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

Get a property by its unique name.

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

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