Adds a Tree Object to a serializable Internal Tree Manager
AddTree(Name, trNode)
True if success.
import PyOrigin NewTree = PyOrigin.EmptyTree() if(NewTree.IsValid()): NewTree.SetName('NEW') NewTree.SetStrValue('TEST') PyOrigin.AddTree('ADD', NewTree) OldTree = PyOrigin.GetTree('ADD') print("%s" % OldTree.GetStrValue())