sim.readCustomDataBlock

Reads custom data that is stored inside of an object or the scene. Reads also custom data for the application's currrent session

Synopsis

bytes customDataBlock = sim.readCustomDataBlock(int objectHandle, string tagName) buffer customDataBlock = sim.readCustomDataBlock(int objectHandle, string tagName)

Arguments

  • objectHandle: handle of the object, or sim.handle_scene if the data is stored in the scene, or sim.handle_app if the data is stored in the application's current session
  • tagName: string that identifies the data

Return values

  • customDataBlock: the custom data block


See also: