set_parameter_by_name#
- Design.set_parameter_by_name(name: str, value: str | float | bool | None = None, reset_output: bool = True) None#
Set the value of a parameter by name or add a new parameter.
If no name is specified, a new parameter is added.
- Parameters:
- name: str
Name of the parameter.
- value: float
Value of the parameter.
- reset_output: bool, optional
Whether to reset the status and feasibility and then delete the output values. The default is
True.
- Raises:
OslCommunicationErrorRaised when an error occurs while communicating with the server.
OslCommandErrorRaised when a command or query fails.
TimeoutErrorRaised when the timeout float value expires.
TypeErrorRaised when an invalid type of parameter is passed.