Variables#

get_array_variable(array_name, array_index)

Get a Motor-CAD array variable.

get_array_variable_2d(array_name, ...)

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

get_variable(variable_name)

Get a Motor-CAD variable.

restore_compatibility_settings()

Restore model compatibility settings to default values to use the latest methods.

set_array_variable(array_name, array_index, ...)

Set a Motor-CAD array variable.

set_array_variable_2d(array_name, ...)

Set the value of a 2D array at element [array_index1,array_index2].

set_variable(variable_name, variable_value)

Set a Motor-CAD variable.