change_design_variable_value#
- Edb.change_design_variable_value(variable_name, variable_value)[source]#
Change a variable value.
- ..note::
User can use also the getitem to read the variable value. See example below.
- Parameters:
- Returns:
tuple
Tuple containing the
SetVariableValue
result and variable server.
Examples
>>> from pyedb import Edb >>> edb_app = Edb() >>> boolean, ant_length = edb_app.add_design_variable("ant_length", "1cm") >>> boolean, ant_length = edb_app.change_design_variable_value("ant_length", "1m") >>> print(edb_app["ant_length"]) #using getitem