3.2.4 ActivePage

Description

Get the active page in the project.

Syntax

ActivePage()

Parameters

Return

The active page in the project.

Examples

EX1

# Activate one workbook, matrix or graph.
import PyOrigin
Page=PyOrigin.ActivePage()
#add a new sheet/layer on the page
Page.AddLayer('NewLayer')