ConstraintCriterion#
- class ansys.optislang.core.project_parametric.ConstraintCriterion(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.LESSEQUAL, 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 constraint criterion data.
Methods
ConstraintCriterion.from_dict
(criterion_dict)Create an instance of the
Criterion
class from actor properties.Convert an instance of the
ConstraintCriterion
class to a dictionary.Attributes
Type of the criterion.
Expression for value.
Return expression value.
Type of the expression value.
Expression for limit value.
Return limit value.
Return type of the limit value.
Name of the criterion.
Type of the criterion.
Return criterion value.
Return type of the criterion value.