    

 ## On this page

  

 

 # `GlobalVonMisesStressConstraint`

 Last update: 16.07.2025 

<a id="ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.GlobalVonMisesStressConstraint"></a>

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

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

Defines a GlobalVonMisesStressConstraint.

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

## Overview

### Methods

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

NameDescription[`Children`](#GlobalVonMisesStressConstraint.Children)Gets the list of children.[`DataModelObjectCategory`](#GlobalVonMisesStressConstraint.DataModelObjectCategory)Gets the current DataModelObject’s category.[`EnvironmentSelection`](#GlobalVonMisesStressConstraint.EnvironmentSelection)Gets or Sets the EnvironmentSelection to an Analysis object or TopoEnvironmentType enum.[`InternalObject`](#GlobalVonMisesStressConstraint.InternalObject)Gets the internal object. For advanced usage only.[`Maximum`](#GlobalVonMisesStressConstraint.Maximum)Gets or sets the Maximum.[`Properties`](#GlobalVonMisesStressConstraint.Properties)Gets the list of properties for this object.[`ScopingMethod`](#GlobalVonMisesStressConstraint.ScopingMethod)Gets or sets the ScopingMethod.[`StressType`](#GlobalVonMisesStressConstraint.StressType)Gets or sets the StressType.[`Suppressed`](#GlobalVonMisesStressConstraint.Suppressed)Gets or sets the Suppressed.[`VisibleProperties`](#GlobalVonMisesStressConstraint.VisibleProperties)Gets the list of properties that are visible for this object.<a id="property-detail"></a>

## Property detail

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

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

Gets the list of children.

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

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

Gets the current DataModelObject’s category.

<a id="GlobalVonMisesStressConstraint.EnvironmentSelection"></a>

### *property* GlobalVonMisesStressConstraint.EnvironmentSelection *: Any | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or Sets the EnvironmentSelection to an Analysis object or TopoEnvironmentType enum.

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

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

Gets the internal object. For advanced usage only.

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

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

Gets or sets the Maximum.

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

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

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

Gets or sets the ScopingMethod.

<a id="GlobalVonMisesStressConstraint.StressType"></a>

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

Gets or sets the StressType.

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

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

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

### GlobalVonMisesStressConstraint.Activate()

Activate the current object.

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

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

Copies all visible properties from this object to another.

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

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

Creates a new parameter for a Property.

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

### GlobalVonMisesStressConstraint.Delete()

Run the Delete action.

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

### GlobalVonMisesStressConstraint.Duplicate()

Creates a copy of the current DataModelObject.

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

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

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

Gets the parameter corresponding to the given property.

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

### GlobalVonMisesStressConstraint.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

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

### GlobalVonMisesStressConstraint.GroupSimilarObjects()

Run the GroupSimilarObjects action.

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

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

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

Get a property by its unique name.

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

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

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

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

### GlobalVonMisesStressConstraint.RenameBasedOnDefinition()

Run the RenameBasedOnDefinition action.