get_array_variable_2d#

MotorCAD.get_array_variable_2d(array_name, array_index1, array_index2)#

Get a value from a 2D array at element [array_index1,array_index2].

Parameters:
array_namestr

Name of the array.

array_index1int

First index of the array.

array_index2int

Second index of the array.

Returns:
int|float|str|bool

Value of the Motor-CAD variable.