CalculationToolConditionCombined#
- class ansys.stk.core.analysis_workbench.CalculationToolConditionCombined#
Bases:
ICalculationToolCondition
,IAnalysisWorkbenchComponent
Define a condition which combines multiple conditions.
Overview#
Get all conditions that are being combined. |
|
Set all conditions to be combined. |
|
Get the condition at the position specified. |
|
Set the condition at the position specified. |
|
Remove the condition at the position specified. |
|
Add a condition at the end of the list. |
Get the operation from the condition that determines how the conditions are combined. The operation can be set to AND, OR, XOR, MINUS. |
|
Get the number of conditions in the combined condition. |
Import detail#
from ansys.stk.core.analysis_workbench import CalculationToolConditionCombined
Property detail#
- property CalculationToolConditionCombined.boolean_operation: ConditionCombinedOperationType#
Get the operation from the condition that determines how the conditions are combined. The operation can be set to AND, OR, XOR, MINUS.
Method detail#
- CalculationToolConditionCombined.get_all_conditions(self) list #
Get all conditions that are being combined.
- Returns:
- CalculationToolConditionCombined.set_all_conditions(self, conditions: list) None #
Set all conditions to be combined.
- CalculationToolConditionCombined.get_condition(self, pos: int) ICalculationToolCondition #
Get the condition at the position specified.
- Parameters:
pos :
int
- Returns:
ICalculationToolCondition
- CalculationToolConditionCombined.set_condition(self, ref: ICalculationToolCondition, pos: int) None #
Set the condition at the position specified.
- CalculationToolConditionCombined.remove_condition(self, pos: int) None #
Remove the condition at the position specified.
- CalculationToolConditionCombined.add_condition(self, ref: ICalculationToolCondition) None #
Add a condition at the end of the list.
- Parameters:
ref :
ICalculationToolCondition
- Returns: