Regular API function

simGetStringParam / sim.getStringParam

Description Retrieves a string parameter. See the string parameter identifiers. See also the other simulator parameter related functions.
C/C++
synopsis
simChar* simGetStringParam(simInt parameter)
C/C++
parameters
C/C++
return value
nullptr if operation was not successful. Otherwise the string parameter. The user is in charge of releasing the returned buffer with simReleaseBuffer.
Lua
synopsis
string parameterValue=sim.getStringParam(int parameter)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart
Python
synopsis
string parameterValue=sim.getStringParam(int parameter)