LimitStateCriterion#

class ansys.optislang.core.project_parametric.LimitStateCriterion(name: str = '', expression: str = '0', expression_value: tuple | bool | float | complex | list | dict | None = None, expression_value_type: CriterionValueType | None = None, criterion: ComparisonType | str = ComparisonType.LESSLIMITSTATE, limit_expression: str = '0', limit_expression_value: tuple | bool | float | complex | list | dict | None = None, limit_expression_value_type: CriterionValueType | None = None, value: tuple | bool | float | complex | list | dict | None = None, value_type: CriterionValueType | None = None)#

Stores limit state criterion data.

Methods

LimitStateCriterion.from_dict(criterion_dict)

Create an instance of the Criterion class from actor properties.

LimitStateCriterion.to_dict()

Convert an instance of the LimitStateCriterion class to a dictionary.

Attributes

LimitStateCriterion.criterion

Type of the criterion.

LimitStateCriterion.expression

Expression for value.

LimitStateCriterion.expression_value

Return expression value.

LimitStateCriterion.expression_value_type

Type of the expression value.

LimitStateCriterion.limit_expression

Expression for limit value.

LimitStateCriterion.limit_expression_value

Return limit value.

LimitStateCriterion.limit_expression_value_type

Return type of the limit value.

LimitStateCriterion.name

Name of the criterion.

LimitStateCriterion.type

Type of the criterion.

LimitStateCriterion.value

Return criterion value.

LimitStateCriterion.value_type

Return type of the criterion value.