8.1.25.1 TreeNode::Children

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

Children are all next level's nodes that are direct adjacent to "this" node.

Syntax

 Children()

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()