Extensibility > Graphics Builder Automation Interface > Page Functions > PageOpenEx

PageOpenEx

Opens the specified symbol, Genie or Supergenie page, if it is found. See BrokenLinkCancelEnabled for more information if a missing reference is encountered.

Syntax

PageOpenEx(Project, Library, Element, PageType)

Project:

The name of the project where the element can be found.

Library:

The name of the library where the element can be found.

Element:

The name of the symbol, Genie or Supergenie.

PageType:

Type:

Return Value

0 (zero) if successful, otherwise an error is returned.

Note: For details on handling return and error values, see Error Handling.

Related Functions

PageNew, PageSave, PageSaveAs, PageClose

Example

' Opens a symbol saved as a graphics page
GraphicsBuilder.PageOpenEx "Example", "boiler", "tubes1", 0

' Opens a Genie saved as a new graphics page
GraphicsBuilder.PageOpenEx "Example", "example", "dial", 1

' Opens a Supergenie saved as a graphics page
GraphicsBuilder.PageOpenEx "Example", "utility", "!sysinfo", 2

Published June 2018