Regular API function

simGetArrayParam / sim.getArrayParam

Description Retrieves 3 values from an array parameter. See the array parameter identifiers. See also the other simulator parameter related functions.
C/C++
synopsis
simInt simGetArrayParam(simInt parameter,simVoid* parameterValues)
C/C++
parameters
parameterValues: a simFloat pointer (simVoid is kept for backward compatibility). The 3 values will be copied to that location
C/C++
return value
-1 if operation was not successful
Lua synopsis float[] parameterValues=sim.getArrayParam(int parameter)
Lua parameters
Similar to the C-function counterpart
Lua return values
parameterValues: a table that holds the returned values
Python synopsis list parameterValues=sim.getArrayParam(int parameter)