Regular API function

simSetObjectStringParam / sim.setObjectStringParam

Description Sets a string parameter of a scene object. See also the other object parameter related functions
simInt simSetObjectStringParam(simInt objectHandle,simInt parameterID,simChar* parameter,simInt parameterLength)
objectHandle: handle of the object
parameterID: identifier of the parameter to retrieve. See the list of all possible object parameters
parameter: parameter value (can contain embedded zeros)
parameterLength: the length of the parameter value
return value
-1 in case of an error, 0 if the parameter could not be set, or 1 if operation was successful
Lua synopsis sim.setObjectStringParam(int objectHandle,int parameterID,buffer parameter)
Lua parameters
Similar to the C-function counterpart
Lua return values
Python synopsis sim.setObjectStringParam(int objectHandle,int parameterID,string/bytes parameter)