3.2.10 EmptyTree

Description

Create an empty tree in Origin

Syntax

EmptyTree()

Parameters

Return

The TreeNode

Examples

import PyOrigin
NewTree = PyOrigin.EmptyTree()
if(NewTree.IsValid()):
    NewTree.SetName('NEW')
    NewTree.SetStrValue('TEST')
    print("%s %(NewTree.GetStrValue()))