Skip to main content

class Ansys.ACT.Automation.Mechanical.TemperatureConstraint

Bases: object Defines a TemperatureConstraint.

Overview

Methods

Properties

Property detail

property TemperatureConstraint.Children : List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property TemperatureConstraint.DataModelObjectCategory : Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None

Gets the current DataModelObject’s category.

property TemperatureConstraint.EnvironmentSelection : Any | None

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

property TemperatureConstraint.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSTopoConstraintAuto | None

Gets the internal object. For advanced usage only.

property TemperatureConstraint.Location : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the Location.

property TemperatureConstraint.Properties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property TemperatureConstraint.ScopingMethod : Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None

Gets or sets the ScopingMethod.

property TemperatureConstraint.Suppressed : bool | None

Gets or sets the Suppressed.

property TemperatureConstraint.TemperatureAbsMax : Ansys.ACT.Mechanical.Fields.Field | None

Gets or sets the TemperatureAbsMax.

property TemperatureConstraint.VisibleProperties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties that are visible for this object.

Method detail

TemperatureConstraint.Activate() → None

Activate the current object.

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

Copies all visible properties from this object to another.

TemperatureConstraint.CreateParameter(propName: str) → Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

TemperatureConstraint.Delete() → None

Run the Delete action.

TemperatureConstraint.Duplicate() → Ansys.Mechanical.DataModel.Interfaces.IDataModelObject

Creates a copy of the current DataModelObject.

TemperatureConstraint.GetChildren(recurses: bool, children: List[ChildrenType]) → List[ChildrenType]

Gets the list of children, filtered by type.

TemperatureConstraint.GetParameter(propName: str) → Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

TemperatureConstraint.GroupAllSimilarChildren() → None

Run the GroupAllSimilarChildren action.

TemperatureConstraint.GroupSimilarObjects() → Ansys.ACT.Automation.Mechanical.TreeGroupingFolder

Run the GroupSimilarObjects action.

TemperatureConstraint.PropertyByAPIName(name: str) → Ansys.ACT.Automation.Mechanical.Property

TemperatureConstraint.PropertyByName(name: str) → Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

TemperatureConstraint.RemoveParameter(propName: str) → None

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

TemperatureConstraint.RenameBasedOnDefinition() → None

Run the RenameBasedOnDefinition action.