from_dict#

classmethod MapdlTheme.from_dict(dict_)#

Create an instance from a dictionary of attribute values.

Parameters:
dict_dict

Mapping of public attribute name to value, as produced by to_dict(). Nested config objects are recursively reconstructed via their own from_dict.

Returns:
Self

New instance of cls populated from dict_.

Return type:

Self