Python Script Engine  7.2
GL Studio Editor Python Script API
NewDocument.py

Example on how to create a new Document.

1 # import the Editor module
2 import Editor
3 
4 # Create a new Document
5 newDoc = Editor.NewDocument()