Regular API function

sim.readCustomTableData

Description Reads custom table data that is stored inside of an object or the scene. Reads also custom table data for the application's currrent session. See also the other custom data block related functions.
C/C++
synopsis
C/C++
parameters
C/C++
return value
Lua synopsis table tableData=sim.readCustomTableData(int objectHandle,string tagName)
Lua parameters
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: a string that identifies the data.
Lua return values
tableData: the table data. Returns an empty table if the custom data is not present.
Python synopsis dict/list tableData=sim.readCustomTableData(int objectHandle,string tagName)