8.1.25.8 TreeNode::SetIntValue
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
Set value of the TreeNode
Syntax
SetIntValue(nVal, Index = "")
Parameters
- Index
- nVal
- IntValue of the TreeNode
Return
None
Examples
import PyOrigin NewTree = PyOrigin.EmptyTree() if(NewTree.IsValid()): NewTree.SetName('NEW') NewTree.SetIntValue(1) print("%d" %(NewTree.GetIntValue()))