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

AVEVA™ Plant SCADA

LibraryNextObject

  • Last UpdatedJul 13, 2023
  • 1 minute read

Returns the name of the next library object when following a call of the function LibraryFirstObject. By using multiple calls of this function, you can iterate through a library objects.

Syntax

LibraryNextObject(ObjectName)

ObjectName:

Returns the name of the next object as a string.

Return Value

The name of the next object as string values.

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

LibraryFirstObject, LibraryObjectPlace, LibraryObjectFirstProperty, LibraryObjectNextProperty, LibraryObjectFirstPropertyEx, LibraryObjectPutProperty, LibraryObjectName

Example

On Error Resume Next

Err.Clear

GraphicsBuilder.LibraryFirstObject ProjectName,LibraryName,1,ObjectName

While Err.Number = 0

Debug.Print ObjectName

GraphicsBuilder.LibraryNextObject ObjectName

Wend

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