Regular API function

simSetConfigurationTree / sim.setConfigurationTree

Description Restores configuration information previously retrieved with sim.getConfigurationTree (object relative positions/orientations, joint/path values). Dynamically simulated objects will implicitely be reset before the command is applied (i.e. similar to calling sim.resetDynamicObject just before)
C synopsis simInt simSetConfigurationTree(const simChar* data)
C parameters
data: data returned by a previous call to simGetConfigurationTree
C return value
-1 if operation was not successful
Lua synopsis sim.setConfigurationTree(string buffer)
Lua parameters
buffer: buffer previously returned by sim.getConfigurationTree.
Lua return values
none