    

 ## On this page

  

 

 # `TemperatureConstraint`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v251.Ansys.ACT.Automation.Mechanical.TemperatureConstraint"></a>

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

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

Defines a TemperatureConstraint.

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

## Overview

### Methods

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

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

## Property detail

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

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

Gets the list of children.

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

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

Gets the current DataModelObject’s category.

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

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

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

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

Gets or sets the Location.

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

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

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

Gets or sets the ScopingMethod.

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

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

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

Gets or sets the TemperatureAbsMax.

<a id="TemperatureConstraint.VisibleProperties"></a>

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

### TemperatureConstraint.Activate()

Activate the current object.

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

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

Copies all visible properties from this object to another.

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

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

Creates a new parameter for a Property.

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

### TemperatureConstraint.Delete()

Run the Delete action.

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

### TemperatureConstraint.Duplicate()

Creates a copy of the current DataModelObject.

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

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

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

Gets the parameter corresponding to the given property.

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

### TemperatureConstraint.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

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

### TemperatureConstraint.GroupSimilarObjects()

Run the GroupSimilarObjects action.

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

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

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

Get a property by its unique name.

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

### TemperatureConstraint.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="TemperatureConstraint.RenameBasedOnDefinition"></a>

### TemperatureConstraint.RenameBasedOnDefinition()

Run the RenameBasedOnDefinition action.