Variable#

class pyedb.grpc.database.variables.Variable(pedb, name)#

Manages EDB methods for variable accessible from Edb.Utility.VariableServer property.

Overview#

delete

Delete this variable.

name

Get the name of this variable.

value

Get the value of this variable.

description

Get the description of this variable.

is_parameter

Determine whether this variable is a parameter.

Import detail#

from pyedb.grpc.database.variables import Variable

Property detail#

property Variable.name#

Get the name of this variable.

property Variable.value#

Get the value of this variable.

Returns:
float
property Variable.description#

Get the description of this variable.

property Variable.is_parameter#

Determine whether this variable is a parameter.

Method detail#

Variable.delete()#

Delete this variable.

Returns:
bool

True when successful, False when failed.

Examples

>>> from pyedb import Edb
>>> edb = Edb()
>>> edb.design_variables["new_variable"].delete()