NamedSelectionCriteria#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.NamedSelectionCriteria#
 Bases:
objectA collection of named selection criteria.
Overview#
Adds the given criterion to the collection.  | 
|
Clears the collection.  | 
|
Returns whether the collection contains the given criterion.  | 
|
Returns the index of the given criterion if it exists in the collection. Returns -1 if it does not  | 
|
Inserts the given criterion into the collection at the given index.  | 
|
Removes the given criterion from the collection if it exists in the collection. Throws an exception if it does not.  | 
|
Removes the criterion at the given index. Throws an exception if the given index is not valid.  | 
Property detail#
- property NamedSelectionCriteria.Item: Ansys.ACT.Automation.Mechanical.NamedSelectionCriterion | None#
 Item property.
Method detail#
- NamedSelectionCriteria.Add(criterion: Ansys.ACT.Automation.Mechanical.NamedSelectionCriterion) None#
 Adds the given criterion to the collection.
- NamedSelectionCriteria.Contains(criterion: Ansys.ACT.Automation.Mechanical.NamedSelectionCriterion) bool#
 Returns whether the collection contains the given criterion.
- NamedSelectionCriteria.IndexOf(criterion: Ansys.ACT.Automation.Mechanical.NamedSelectionCriterion) int#
 Returns the index of the given criterion if it exists in the collection. Returns -1 if it does not
- NamedSelectionCriteria.Insert(index: int, criterion: Ansys.ACT.Automation.Mechanical.NamedSelectionCriterion) None#
 Inserts the given criterion into the collection at the given index.
- NamedSelectionCriteria.Remove(criterion: Ansys.ACT.Automation.Mechanical.NamedSelectionCriterion) bool#
 Removes the given criterion from the collection if it exists in the collection. Throws an exception if it does not.