Create an empty tree in Origin
EmptyTree()
The TreeNode
import PyOrigin NewTree = PyOrigin.EmptyTree() if(NewTree.IsValid()): NewTree.SetName('NEW') NewTree.SetStrValue('TEST') print("%s %(NewTree.GetStrValue()))