8.1.25.6 TreeNode::NextSibling

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

The NextSibling of the TreeNode.

Syntax

 NextSibling()

Parameters

Return

TreeNode

Examples

import PyOrigin
mat = PyOrigin.FindMatrixSheet('Mbook1')
print('MatrixSheet : ', mat.GetName())

trMat = mat.GetTheme()
trChild = trMat.FirstChild()
while(trChild.IsValid()):
    print('TreeName : ',trChild.GetName())
    trChild = trChild.NextSibling()