Get the theme as treenode
GetTheme()
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()