    

 ## On this page

  

 

 # `AcousticMassSource`

 Last update: 09.03.2026 

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

#### *class* Ansys.ACT.Automation.Mechanical.BoundaryConditions.AcousticMassSource

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

Defines a AcousticMassSource.

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

## Overview

### Methods

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

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

## Property detail

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

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

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

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

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

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

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

Gets the internal object. For advanced usage only.

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

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

### *property* AcousticMassSource.Magnitude *: [Ansys.ACT.Mechanical.Fields.Field](../../../Mechanical/Fields/Field.md#ansys.mechanical.stubs.v252.Ansys.ACT.Mechanical.Fields.Field) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Magnitude.

<a id="AcousticMassSource.PhaseAngle"></a>

### *property* AcousticMassSource.PhaseAngle *: [Ansys.ACT.Mechanical.Fields.Field](../../../Mechanical/Fields/Field.md#ansys.mechanical.stubs.v252.Ansys.ACT.Mechanical.Fields.Field) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the PhaseAngle.

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

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

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

Gets or sets the ReadOnly.

<a id="AcousticMassSource.SharedRefBody"></a>

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

Gets or sets the SharedRefBody.

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

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

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

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

Activate the current object.

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

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

Creates a new child Comment.

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

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

Creates a new child Figure.

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

### AcousticMassSource.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="AcousticMassSource.CopyTo"></a>

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

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

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

Run the Delete action.

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

### AcousticMassSource.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="AcousticMassSource.GetChildren"></a>

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

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

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

Run the GroupAllSimilarChildren action.

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

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

Run the GroupSimilarObjects action.

<a id="AcousticMassSource.PromoteToNamedSelection"></a>

### AcousticMassSource.PromoteToNamedSelection() → Iterable\[[Ansys.ACT.Automation.Mechanical.NamedSelection](../NamedSelection.md#ansys.mechanical.stubs.v252.Ansys.ACT.Automation.Mechanical.NamedSelection)\]

Run the PromoteToNamedSelection action.

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

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

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

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