Regular API function

sim.setGraphUserData

Description DEPRECATED. See sim.setGraphStreamValue instead.
C/C++
synopsis
simInt simSetGraphUserData(simInt graphHandle,const simChar* dataStreamName,simFloat data)
C/C++
parameters
graphHandle: handle of the graph object
dataStreamName: the name of the data stream. The data stream must be of type "user-defined"
data: the value to set. If, for a given simulation step this function is not called for a user-defined data stream, then the data will be missing for that simulation step.
C/C++
return value
-1 if operation was not successful
Lua synopsis sim.setGraphUserData(int graphHandle,string dataStreamName,float data)
Lua parameters
Similar to the C-function counterpart
Lua return values