Regular API function

simSetBoolParam / sim.setBoolParam

Description Sets a bool parameter. See also the other simulator parameter related functions.
C/C++
synopsis
simInt simSetBoolParam(simInt parameter,simBool boolState)
C/C++
parameters
boolState: new bool state for the parameter
C/C++
return value
-1 if operation was not successful
Lua
synopsis
sim.setBoolParam(int parameter,bool boolState)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Python
synopsis
sim.setBoolParam(int parameter,bool boolState)

<