set_array_variable_2d#

MotorCAD.set_array_variable_2d(array_name, array_index1, array_index2, new_value)#

Set the value of 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.

new_valueint|float|str|bool

Value to set the Motor-CAD variable to.