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

AVEVA™ Plant SCADA

PageAddAssociation

  • Last UpdatedJul 13, 2023
  • 1 minute read

Adds a new association to the current page. This function will return an error if an association with the specified name already exists.

Syntax

PageAddAssociation(Name)

Name:

The name of the new association to be added to the current page.

Return Value

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

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

Example

Adding a new element and setting its properties:

GraphicsBuilder.PageAddAssociation("MyAssociation")
GraphicsBuilder.SelectAssociationByName("MyAssociation")
GraphicsBuilder.PageAssociationsDefault = "TAG0"
GraphicsBuilder.PageAssociationValueOnError = "Oops"
GraphicsBuilder.PageAssociationDescription = "My Association"

PageAssociationDefault, PageAssociationDescription

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