OriginObject::GetTheme

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

Get the theme as treenode

Syntax

GetTheme()

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