set_variable#

MotorCAD.set_variable(variable_name, variable_value)#

Set a Motor-CAD variable.

Parameters:
variable_namestr

Name of the variable.

variable_valueint|float|str|bool

Value to set the variable to.