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:
OslCommunicationError
Raised when an error occurs while communicating with the server.
OslCommandError
Raised when a command or query fails.
TimeoutError
Raised when the timeout float value expires.
TypeError
Raised when an invalid type of parameter is passed.