DependentParameter#

class ansys.optislang.core.project_parametric.DependentParameter(name: str = '', operation: str = '0', reference_value: bool | float | str | Tuple[Any, ParameterValueType] | None = None, id: str | None = None, const: bool = False)#

Stores dependent parameter data.

Methods

DependentParameter.from_dict(par_dict)

Create an instance of the Parameter class from optiSLang output.

DependentParameter.to_dict()

Convert an instance of the DependentParameter class to a dictionary.

Attributes

DependentParameter.const

Whether the value for the parameter is a constant.

DependentParameter.id

ID of the parameter.

DependentParameter.name

Name of the parameter.

DependentParameter.operation

Operation expression.

DependentParameter.reference_value

Reference value of the parameter.

DependentParameter.type

Type of the parameter.