get_array_variable#

MotorCAD.get_array_variable(array_name, array_index)#

Get a Motor-CAD array variable.

Parameters:
array_namestr

Name of the array.

array_indexint

Position variable in the array.

Returns:
int|float|str|bool

Value of the Motor-CAD variable