get_variable#

MotorCAD.get_variable(variable_name)#

Get a Motor-CAD variable.

Parameters:
variable_namestr

Name of the variable.

Returns:
int|float|str|bool

Value of the Motor-CAD variable.