The NextSibling of the TreeNode.
NextSibling()
TreeNode
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()