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

AVEVA™ Engineering

Collections and Expressions

  • Last UpdatedDec 20, 2021
  • 1 minute read

Any attribute Query that takes an element type as a qualifier will take a User Defined Element Type (UDET) as a qualifier.

For example:

Q MCOUNT :PUMP

The number of :PUMPS in the current members list is returned.

Collections (and related expression syntax) will also work with UDETs.

For example:

collect all :PUMP for ISITEA.

Collecting on a type, will collect the derived types.

For example:

'COLLECT ALL EQUI'

will include :PUMPS as well as EQUI elements.

If just EQUI elements are required, excluding derived UDETS, they may be collected explicitly using the syntax:

VAR !A COLLECT JUST EQU1 FOR IATEST

Applies to existing DRAW selection rules, such as those for line-styles. The user should not need to create new line-style definitions to cover any UDETs, unless they wish to distinguish UDETs from their base elements.

Cursor syntax such as ID EQUI @ identify elements by their base type -thus :PUMP elements will also be found. To exclude UDETs, the syntax ID JUST EQUI @ should be used. If the 'JUST' keyword is used, it will apply to the entire list.

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