Get the LayoutPages
LayoutPages(PageName) LayoutPages()
LayoutPages
EX1
import PyOrigin #Get the LayoutPage for the layout window in Origin having the short name lp = PyOrigin.LayoutPages('name') if(lp.IsValid()): #Prthe LayoutPage object name print(lp.GetFolder())
EX2
import PyOrigin if PyOrigin.LayoutPages().GetCount() > 0: # Loop for each layout page. print('Prall layout name:') for layout in PyOrigin.LayoutPages(): print(layout.GetName())