8.1.25.5 TreeNode::GetStrValue

It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021.


Description

Get string value of the TreeNode

Syntax

GetStrValue( Index = "")

Parameters

Index

Return

string value of the TreeNode

Examples

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

See Also

TreeNode::SetStrValue