CalculationToolConditionSetFactory#

class ansys.stk.core.analysis_workbench.CalculationToolConditionSetFactory#

The factory creates condition set components.

Overview#

create

Create and registers a condition set using specified name, description, and type.

create_scalar_thresholds

Create a scalar thresholds condition set.

is_type_supported

Return whether the specified type is supported.

Import detail#

from ansys.stk.core.analysis_workbench import CalculationToolConditionSetFactory

Method detail#

CalculationToolConditionSetFactory.create(self, name: str, description: str, type: ConditionSetType) ICalculationToolConditionSet#

Create and registers a condition set using specified name, description, and type.

Parameters:

name : str

description : str

type : ConditionSetType

Returns:

ICalculationToolConditionSet

CalculationToolConditionSetFactory.create_scalar_thresholds(self, name: str, description: str) ICalculationToolConditionSet#

Create a scalar thresholds condition set.

Parameters:

name : str

description : str

Returns:

ICalculationToolConditionSet

CalculationToolConditionSetFactory.is_type_supported(self, type: ConditionSetType) bool#

Return whether the specified type is supported.

Parameters:

type : ConditionSetType

Returns:

bool