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

AVEVA™ Plant SCADA

PageEnvironmentRemove

  • Last UpdatedJul 13, 2023
  • 1 minute read

Removes an environment variable from the current page. This function will return an error if an environment variable with the specified name does not exist.

Syntax

PageEnvironmentRemove(Name)

Name:

Specifies the name of the environment variable to be removed.

Return Value

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

Example

Deleting an existing environment variable

GraphicsBuilder.PageEnvironmentRemove("Foo")

Updating an existing environment variable

GraphicsBuilder.PageEnvironmentRemove("Foo")
GraphicsBuilder.PageEnvironmentAdd("Foo", "Bar2")

PageEnvironmentFirst

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