DependentParameter#
- class ansys.optislang.core.project_parametric.DependentParameter(name: str = '', operation: str = '0', reference_value: bool | float | str | None | Tuple[Any, ParameterValueType] = None, id: str = '4f991810-bf28-4a34-bdb4-e63f7be155d1', const: bool = False)#
Stores dependent parameter data.
Methods
__init__
([name, operation, reference_value, ...])Create an instance of the
DependentParameter
class.from_dict
(par_dict)Create an instance of the
DependentParameter
class from optiSLang output.to_dict
()Convert an instance of the
DependentParameter
class to a dictionary.Attributes
Whether the value for the parameter is a constant.
ID of the parameter.
Name of the parameter.
Operation expression.
Reference value of the parameter.
Type of the parameter.