Get the Pages object
Pages(name) Pages()
Origin Pages
EX1
import PyOrigin PyOrigin.Pages('Book1').AddLayer('MySheet')
EX2
import PyOrigin if PyOrigin.Pages().GetCount() > 0: # Loop for each page print('Prall pages name:') for page in PyOrigin.Pages(): print(page.GetName())