    

 ## On this page

  

 

 # `ImportedStresses`

 Last update: 09.03.2026 

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

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

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

Defines a ImportedStresses.

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

## Overview

### Methods

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

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

## Property detail

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

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

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

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

Gets the NumberOfRows.

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

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

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

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

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

Gets the internal object. For advanced usage only.

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

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

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

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

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

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

Activate the current object.

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

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

Creates a new child Comment.

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

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

Creates a new child Figure.

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

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

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

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

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

Run the Delete action.

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

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

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

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

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

Run the GroupAllSimilarChildren action.

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

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

Run the GroupSimilarObjects action.

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

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

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

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