Regular API function

simGetBoolParam / sim.getBoolParam

Description Retrieves a bool parameter. See the bool parameter identifiers. See also the other simulator parameter related functions.
C/C++
synopsis
simInt simGetBoolParam(simInt parameter)
C/C++
parameters
C/C++
return value
value of the parameter (0 or 1) or -1 in case of an error
Lua
synopsis
bool boolState=sim.getBoolParam(int parameter)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
boolState: value of the bool parameter
Python
synopsis
bool boolState=sim.getBoolParam(int parameter)