from_dict#
- classmethod ProjectRelativePath.from_dict(path: dict) OptislangPath#
Create an instance of the
OptislangPathclass from optiSLang output.- Parameters:
- path: dict
Output from the optiSLang server.
- Returns:
ParameterInstance of the
Parameterclass.
- Raises:
TypeErrorRaised when an unsupported path format or type is provided.