Regular API function

simGetConfigurationTree / sim.getConfigurationTree

Description DEPRECATED
C/C++
synopsis
simChar* simGetConfigurationTree(simInt objectHandle)
C/C++
parameters
objectHandle: handle of the object that is at the base of the tree (all objects built on top of this one (including this one)) will have their configuration retrieved. sim_handle_all will retrieve the configuration for the whole scene
C/C++
return value
Configuration data if operation was successful, nullptr otherwise. The returned data should be deleted with simReleaseBuffer when not used anymore
Lua synopsis string buffer=sim.getConfigurationTree(int objectHandle)
Lua parameters
Similar to the C-function counterpart. In addition, child scripts can use the argument sim.handle_self to retrieved the configuration tree of the object that the child script is attached to
Lua return values
buffer: use that value to restore the configuration tree with sim.setConfigurationTree.