CompositeCriterionDefinition
#
- class ansys.mechanical.stubs.v242.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. |
|
Item property. |
|
Gives the number of CompositeCriterionTerms in the definition. |
Property detail#
- property CompositeCriterionDefinition.Item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm | None
Item property.
- property CompositeCriterionDefinition.Count: System.Int32 | None
Gives the number of CompositeCriterionTerms in the definition.
Method detail#
- CompositeCriterionDefinition.Add(item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) System.Void
Adds a CompositeCriterionTerm at the end in the definition.
Usage:
CriterionDefinition.Add(Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm(primCritObj, 1.3))
- CompositeCriterionDefinition.Clear() System.Void
Clears all the CompositeCriterionTerms in the definition.
- CompositeCriterionDefinition.IndexOf(item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) System.Int32
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: System.Int32, item: Ansys.ACT.Automation.Mechanical.CompositeCriterionTerm) System.Void
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))
- CompositeCriterionDefinition.RemoveAt(index: System.Int32) System.Void
Removes the CompositeCriterionTerm at a specified index in the definition.
Returns IndexOutOfRangeException for invalid index.