8.2.33 Pages
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. |
Contents
Description
Get the Pages object
Syntax
Pages(name) Pages()
Parameters
- Page Name
- no-argument
Return
Origin Pages
Examples
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())