8.1.25.4 TreeNode::GetIntValue

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 int value of the TreeNode

Syntax

GetIntValue( Index = "")

Parameters

Index

Return

IntValue of the TreeNode

Examples

import PyOrigin
NewTree = PyOrigin.EmptyTree()
if(NewTree.IsValid()):
    NewTree.SetName('NEW')
    NewTree.SetIntValue(1)
    print("%d" %(NewTree.GetIntValue()))

See Also

TreeNode::SetIntValue