sim.writeCustomDataBlock

Deprecated. See sim.writeCustomStringData and sim.writeCustomBufferData instead

Synopsis

sim.writeCustomDataBlock(int objectHandle, string tagName, string/bytes data) sim.writeCustomDataBlock(int objectHandle, string tagName, buffer data)

Arguments

  • objectHandle: handle of the object where you want to store your data, or sim.handle_scene if you wish to store the data with the scene, or sim.handle_app if you wish to store the data with the application's current session
  • tagName: string that identifies the data. An empty string removes all custom data blocks
  • data: your custom data. If empty, the current data under the specified dataName is removed


See also: