from_dict#

static LimitStateCriterion.from_dict(criterion_dict: dict) Criterion#

Create an instance of the Criterion class from actor properties.

Parameters:
criterion_dictdict

Output from optiSLang server.

Returns:
Criterion

Instance of the Criterion class.

Raises:
TypeError

Raised when undefined type of criterion is given.