LEXICON Command
Reference Manual
User Defined Element Types
: Collections and Expressions
Collections and Expressions
Any attribute Query that takes an element type as a qualifier will take a 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.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.