    

 ## On this page

  

 

 # `TopologyMultiDensity`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Results.TopologyMultiDensity"></a>

#### *class* Ansys.ACT.Automation.Mechanical.Results.TopologyMultiDensity

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

Defines a TopologyMultiDensity.

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

## Overview

### Methods

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

NameDescription[`CalculateTimeHistory`](#TopologyMultiDensity.CalculateTimeHistory)Gets or sets the CalculateTimeHistory.[`Children`](#TopologyMultiDensity.Children)Gets the list of children.[`Comments`](#TopologyMultiDensity.Comments)Gets the list of associated comments.[`DataModelObjectCategory`](#TopologyMultiDensity.DataModelObjectCategory)Gets the current DataModelObject’s category.[`ExclusionsParticipation`](#TopologyMultiDensity.ExclusionsParticipation)Gets or sets the ExclusionsParticipation.[`Figures`](#TopologyMultiDensity.Figures)Gets the list of associated figures.[`FinalMass`](#TopologyMultiDensity.FinalMass)Gets the FinalMass.[`FinalVolume`](#TopologyMultiDensity.FinalVolume)Gets the FinalVolume.[`Images`](#TopologyMultiDensity.Images)Gets the list of associated images.[`InternalObject`](#TopologyMultiDensity.InternalObject)Gets the internal object. For advanced usage only.[`IterationNumber`](#TopologyMultiDensity.IterationNumber)Gets the IterationNumber.[`IterationStep`](#TopologyMultiDensity.IterationStep)Gets or sets the IterationStep.[`Location`](#TopologyMultiDensity.Location)Gets or sets the Location.[`Maximum`](#TopologyMultiDensity.Maximum)Gets the Maximum.[`Minimum`](#TopologyMultiDensity.Minimum)Gets the Minimum.[`OriginalMass`](#TopologyMultiDensity.OriginalMass)Gets the OriginalMass.[`OriginalVolume`](#TopologyMultiDensity.OriginalVolume)Gets the OriginalVolume.[`PercentMassOfOriginal`](#TopologyMultiDensity.PercentMassOfOriginal)Gets the PercentMassOfOriginal.[`PercentVolumeOfOriginal`](#TopologyMultiDensity.PercentVolumeOfOriginal)Gets the PercentVolumeOfOriginal.[`Properties`](#TopologyMultiDensity.Properties)Gets the list of properties for this object.[`ScopingMethod`](#TopologyMultiDensity.ScopingMethod)Gets or sets the ScopingMethod.[`Selection`](#TopologyMultiDensity.Selection)Gets or sets the Selection.[`ShowOptimizedRegion`](#TopologyMultiDensity.ShowOptimizedRegion)Gets or sets the ShowOptimizedRegion.[`Suppressed`](#TopologyMultiDensity.Suppressed)Gets or sets the Suppressed.[`VisibleProperties`](#TopologyMultiDensity.VisibleProperties)Gets the list of properties that are visible for this object.<a id="property-detail"></a>

## Property detail

<a id="TopologyMultiDensity.CalculateTimeHistory"></a>

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

Gets or sets the CalculateTimeHistory.

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

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

Gets the list of children.

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

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

Gets the list of associated comments.

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

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

Gets the current DataModelObject’s category.

<a id="TopologyMultiDensity.ExclusionsParticipation"></a>

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

Gets or sets the ExclusionsParticipation.

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

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

Gets the list of associated figures.

<a id="TopologyMultiDensity.FinalMass"></a>

### *property* TopologyMultiDensity.FinalMass *: [Ansys.Core.Units.Quantity](../../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the FinalMass.

<a id="TopologyMultiDensity.FinalVolume"></a>

### *property* TopologyMultiDensity.FinalVolume *: [Ansys.Core.Units.Quantity](../../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the FinalVolume.

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

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

Gets the list of associated images.

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

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

Gets the internal object. For advanced usage only.

<a id="TopologyMultiDensity.IterationNumber"></a>

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

Gets the IterationNumber.

<a id="TopologyMultiDensity.IterationStep"></a>

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

Gets or sets the IterationStep.

<a id="TopologyMultiDensity.Location"></a>

### *property* TopologyMultiDensity.Location *: [Ansys.ACT.Interfaces.Common.ISelectionInfo](../../../Interfaces/Common/ISelectionInfo.md#ansys.mechanical.stubs.v252.Ansys.ACT.Interfaces.Common.ISelectionInfo) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Location.

<a id="TopologyMultiDensity.Maximum"></a>

### *property* TopologyMultiDensity.Maximum *: [float](https://docs.python.org/3/library/functions.html#float) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the Maximum.

<a id="TopologyMultiDensity.Minimum"></a>

### *property* TopologyMultiDensity.Minimum *: [float](https://docs.python.org/3/library/functions.html#float) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the Minimum.

<a id="TopologyMultiDensity.OriginalMass"></a>

### *property* TopologyMultiDensity.OriginalMass *: [Ansys.Core.Units.Quantity](../../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the OriginalMass.

<a id="TopologyMultiDensity.OriginalVolume"></a>

### *property* TopologyMultiDensity.OriginalVolume *: [Ansys.Core.Units.Quantity](../../../../Core/Units/Quantity.md#ansys.mechanical.stubs.v252.Ansys.Core.Units.Quantity) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the OriginalVolume.

<a id="TopologyMultiDensity.PercentMassOfOriginal"></a>

### *property* TopologyMultiDensity.PercentMassOfOriginal *: [float](https://docs.python.org/3/library/functions.html#float) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the PercentMassOfOriginal.

<a id="TopologyMultiDensity.PercentVolumeOfOriginal"></a>

### *property* TopologyMultiDensity.PercentVolumeOfOriginal *: [float](https://docs.python.org/3/library/functions.html#float) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the PercentVolumeOfOriginal.

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

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

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

Gets or sets the ScopingMethod.

<a id="TopologyMultiDensity.Selection"></a>

### *property* TopologyMultiDensity.Selection *: [Ansys.ACT.Automation.Mechanical.OptimizationRegion](../OptimizationRegion.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.OptimizationRegion) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Selection.

<a id="TopologyMultiDensity.ShowOptimizedRegion"></a>

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

Gets or sets the ShowOptimizedRegion.

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

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

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

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

Activate the current object.

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

### TopologyMultiDensity.AddComment() → [Ansys.ACT.Automation.Mechanical.Comment](../Comment.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Comment)

Creates a new child Comment.

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

### TopologyMultiDensity.AddFigure() → [Ansys.ACT.Automation.Mechanical.Figure](../Figure.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Figure)

Creates a new child Figure.

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

### TopologyMultiDensity.AddImage(filePath: [str](https://docs.python.org/3/library/stdtypes.html#str)) → [Ansys.ACT.Automation.Mechanical.Image](../Image.md#ansys.mechanical.stubs.v252.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="TopologyMultiDensity.AddSmoothing"></a>

### TopologyMultiDensity.AddSmoothing() → [Ansys.ACT.Automation.Mechanical.Results.Smoothing](Smoothing.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.Results.Smoothing)

Insert Smoothing Object

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

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

Clears the result.

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

### TopologyMultiDensity.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="TopologyMultiDensity.CreateParameter"></a>

### TopologyMultiDensity.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="TopologyMultiDensity.Delete"></a>

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

Run the Delete action.

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

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

Creates a copy of the current DataModelObject.

<a id="TopologyMultiDensity.EvaluateAllResults"></a>

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

Run the EvaluateAllResults action.

<a id="TopologyMultiDensity.ExportAnimation"></a>

### TopologyMultiDensity.ExportAnimation(filePath: [str](https://docs.python.org/3/library/stdtypes.html#str), format: [Ansys.Mechanical.DataModel.Enums.GraphicsAnimationExportFormat](../../../../Mechanical/DataModel/Enums/GraphicsAnimationExportFormat.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.DataModel.Enums.GraphicsAnimationExportFormat), settings: [Ansys.Mechanical.Graphics.AnimationExportSettings](../../../../Mechanical/Graphics/AnimationExportSettings.md#ansys.mechanical.stubs.v252.Ansys.Mechanical.Graphics.AnimationExportSettings)) → [None](https://docs.python.org/3/library/constants.html#None)

Run the ExportAnimation action.

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

### TopologyMultiDensity.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="TopologyMultiDensity.GetParameter"></a>

### TopologyMultiDensity.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="TopologyMultiDensity.GroupAllSimilarChildren"></a>

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

Run the GroupAllSimilarChildren action.

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

### TopologyMultiDensity.GroupSimilarObjects() → [Ansys.ACT.Automation.Mechanical.TreeGroupingFolder](../TreeGroupingFolder.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.TreeGroupingFolder)

Run the GroupSimilarObjects action.

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

### TopologyMultiDensity.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="TopologyMultiDensity.PropertyByName"></a>

### TopologyMultiDensity.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="TopologyMultiDensity.RemoveParameter"></a>

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

<a id="TopologyMultiDensity.RenameBasedOnDefinition"></a>

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

Run the RenameBasedOnDefinition action.