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

AVEVA™ Engineering

Event Driven Graphics

  • Last UpdatedOct 09, 2022
  • 2 minute read

Unlike the old style of graphical picking used by AVEVA E3D Design, which suspended the running of a macro until a graphical element had been picked. EDG is a state in which the graphical view gadget is put into, which defines criteria about how and what can be picked and how the picked item is interpreted. When an item is picked, an action is carried out, i.e. a macro, function or method is executed, similar to the callback on other gadgets types. What does not happen, as with the old macro suspended mechanism, is that all other forms and gadgets within the application, are still active.

What this means to the AppWare developer is that when writing a utility that uses the EDG system, the action carried out when a pick happens, can only be completed once all the pick information has been ascertained. Therefore, where an action requires two or more picks or the picked information was incorrect, the action routine must either cache the information until it has all the required pick information or it must instigate another event that setups the system for the subsequent picks.

The AppWare developer should now consider the graphic view gadget as any other gadget, i.e. on left-mouse-button up, the callback of the gadget will be actions.

What EDG allows from your point of view, is that you can have the graphics view in a EDG state, but you can still interact with any other form before you have completed the actual pick task. Whereas, pre-EDG you would have to complete all the picks for a utility, before anything else could be done.

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