Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

PageDeleteObject

  • Last UpdatedJul 13, 2023
  • 1 minute read

Deletes a specified symbol, Genie or Super Genie from a library.

Syntax

PageDeleteEx(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:

Name of the symbol, Genie or Super genie.

PageType:

0 = Symbol

1 = Genie

2 = Super Genie

Return Value

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

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

PageNew, PageOpen, PageSaveAs, PageSave

Example

' Deletes the specified symbol

GraphicsBuilder.PageDeleteEx "Example", "TestLibrary", "TestObject", 0

' Deletes the specified Genie

GraphicsBuilder.PageDeleteEx "Example", "TestLibrary", "TestObject", 1

' Deletes the specified Super Genie

GraphicsBuilder.PageDeleteEx "Example", "TestLibrary", "TestObject", 2

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in