Get the WorksheetPages.
WorksheetPages(PageName) WorksheetPages()
WorksheetPage object
EX1
import PyOrigin #Add a new sheet named 'Mysheet' in the workbook 'Book1' PyOrigin.WorksheetPages('Book1').AddLayer('Mysheet')
EX2
import PyOrigin if PyOrigin.WorksheetPages().GetCount() > 0: # Loop for each workbook. print('Prall workbook name:') for book in PyOrigin.WorksheetPages(): print(book.GetName())