Skip to main content

class Ansys.ACT.Automation.Mechanical.CriterionConstraint

Bases: object Defines a CriterionConstraint.

Overview

Methods

Properties

Property detail

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

Gets the list of children.

property CriterionConstraint.Criterion : Ansys.ACT.Automation.Mechanical.Criterion | None

Gets or sets the Criterion.

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

Gets the current DataModelObject’s category.

property CriterionConstraint.EnvironmentSelection : Any | None

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

property CriterionConstraint.InitialValue : float | None

Gets the InitialValue.

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

Gets the internal object. For advanced usage only.

property CriterionConstraint.LowerBound : float | None

Gets or sets the LowerBound.

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

Gets the list of properties for this object.

property CriterionConstraint.Suppressed : bool | None

Gets or sets the Suppressed.

property CriterionConstraint.UpperBound : float | None

Gets or sets the UpperBound.

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

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

Method detail

CriterionConstraint.Activate() → None

Activate the current object.

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

Copies all visible properties from this object to another.

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

Creates a new parameter for a Property.

CriterionConstraint.Delete() → None

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Gets the list of children, filtered by type.

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

Gets the parameter corresponding to the given property.

CriterionConstraint.GroupAllSimilarChildren() → None

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

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

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

Get a property by its unique name.

CriterionConstraint.RemoveParameter(propName: str) → None

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

CriterionConstraint.RenameBasedOnDefinition() → None

Run the RenameBasedOnDefinition action.