    

 ## On this page

  

 

 # `AcousticPressure`

 Last update: 16.07.2025 

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

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

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

Defines a AcousticPressure.

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

## Overview

### Methods

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

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

## Property detail

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

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

Gets the list of children.

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

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

Gets the list of associated comments.

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

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

Gets the current DataModelObject’s category.

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

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

Gets the list of associated figures.

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

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

Gets the list of associated images.

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

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

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

Gets or sets the Location.

<a id="AcousticPressure.Magnitude"></a>

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

Gets or sets the Magnitude.

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

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

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

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

Gets or sets the SharedRefBody.

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

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

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

### AcousticPressure.Activate()

Activate the current object.

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

### AcousticPressure.AddComment()

Creates a new child Comment.

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

### AcousticPressure.AddFigure()

Creates a new child Figure.

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

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

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

Copies all visible properties from this object to another.

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

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

Creates a new parameter for a Property.

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

### AcousticPressure.Delete()

Run the Delete action.

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

### AcousticPressure.Duplicate()

Creates a copy of the current DataModelObject.

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

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

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

Gets the parameter corresponding to the given property.

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

### AcousticPressure.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

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

### AcousticPressure.GroupSimilarObjects()

Run the GroupSimilarObjects action.

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

### AcousticPressure.PromoteToNamedSelection()

Run the PromoteToNamedSelection action.

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

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

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

Get a property by its unique name.

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

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

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