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

AVEVA™ Plant SCADA

LibraryObjectNextPropertyEx

  • Last UpdatedJul 13, 2023
  • 1 minute read

Returns the name and value of the "next" property of the Genie specified by the implementation of LibraryObjectFirstPropertyEx. By using multiple calls of this function, you can iterate through the specified genie's properties.

Syntax

LibraryObjectNextPropertyEx(PropertyName, PropertyValue)

PropertyName:

Returns the name of the active genie's next property as a string.

PropertyValue:

Returns the value of the active genie's next property as a string.

Return Value

The name and value of the Genie's next property as string values.

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

LibraryObjectFirstPropertyEx

Example

On Error Resume Next

Err.Clear

GraphicsBuilder.LibraryObjectFirstPropertyEx "include", "motors", "Motor_2_east", PropName, PropValue

While Err.Number = 0

Debug.Print PropName, PropValue

GraphicsBuilder.LibraryObjectNextProperty PropName, PropValue

Wend

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