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

AVEVA™ Plant SCADA

Library Object Functions

  • Last UpdatedJul 13, 2023
  • 2 minute read

With Library Object functions you can use and manipulate the objects stored in libraries in your project. This includes such objects as Genies, Super Genies, Symbols, and so on.

LibraryFirstObject

Returns the name of the first library object.

LibraryNextObject

Returns the name of the next library object when following a call of the function LibraryFirstObject.

LibraryObjectFirstProperty

Returns the name and value of the active Genie's first property.

LibraryObjectFirstPropertyEx

Returns the name and value of a specified Genie's first property.

LibraryObjectHotspotGet

Retrieves the hotspot marker in a Genie or symbol page.

LibraryObjectHotspotPut

Positions the hotspot marker in a Genie or symbol page.

LibraryObjectName

Returns the name of the selected object.

LibraryObjectNextProperty

Returns the name and value of the active Genie's "next" property when implemented following a call of the function LibraryObjectFirstProperty.

LibraryObjectNextPropertyEx

Returns the name and value of the "next" property of the Genie specified by the implementation of LibraryObjectFirstPropertyEx.

LibraryObjectPlace

Places a library object (a symbol or genie) on the active Plant SCADA graphics page at the default location (top left corner).

LibraryObjectPlaceEx

Places a library object (a symbol or genie) on the active Plant SCADA graphics page at the specified location.

LibraryObjectPutProperty

Sets the value of a specified property for the active genie.

LibSelectionHooksEnabled

Writing a TRUE value with this function enables library selection hooks. When enabled, selecting Paste Genie or Paste Symbol (or their equivalent function key of toolbar button) will not show the standard selection dialog, but will fire the automation event PasteSymbol or PasteGenie instead.

LibraryShowPasteDialog

Shows either the paste Genie or Paste Symbol dialog.

For details and a VB example on handling return and error values, see Error Handling.

See Also

Automation Events

Function Categories

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