CompositeCriterionDefinition
#
- class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.CompositeCriterionDefinition#
Bases:
object
CompositeCriterionDefinition class.
Overview#
Adds a CompositeCriterionTerm at the end in the definition. |
|
Clears all the CompositeCriterionTerms in the definition. |
|
Gives the index where the specified CompositeCriterionTerm exists in the definition. |
|
Inserts a CompositeCriterionTerm at a specified index in the definition. |
|
Removes the CompositeCriterionTerm at a specified index in the definition. |
Property detail#
- property CompositeCriterionDefinition.Count: int | None#
Gives the number of CompositeCriterionTerms in the definition.
- property CompositeCriterionDefinition.Item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm | None#
Item property.
Method detail#
- CompositeCriterionDefinition.Add(item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) None #
Adds a CompositeCriterionTerm at the end in the definition.
Usage:
CriterionDefinition.Add(Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm(primCritObj, 1.3))
- CompositeCriterionDefinition.Clear() None #
Clears all the CompositeCriterionTerms in the definition.
- CompositeCriterionDefinition.IndexOf(item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) int #
Gives the index where the specified CompositeCriterionTerm exists in the definition.
Returns -1 if the term is not found in the definition.
- CompositeCriterionDefinition.Insert(index: int, item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) None #
Inserts a CompositeCriterionTerm at a specified index in the definition.
Returns IndexOutOfRangeException for invalid index.
Usage:
CriterionDefinition.Insert(1, Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm(primCritObj, 1.3))
Removes the CompositeCriterionTerm at a specified index in the definition.
Returns IndexOutOfRangeException for invalid index.