LEXICON Command
Reference Manual
User Defined Element Types
: Redefine the Owner and Member List
Redefine the Owner and Member List
When creating a UDET by default it will inherit the same allowed member types (UDMLIS) and allowed owner types (UDOLIS) as it's base type. These lists may be reset.
The types in the new list must be either:
•
a system type allowed on the base type.
•
a UDET derived from a system type allowed on the base type.
Based on the previous example create a UDET named MYBOX based on a system type BOX.
At the command line type 'Q UDLIST' to see the current owner list as follows:
EQUI STRU PTRA SUBE SUBS TMPL
At the command line type 'Q UDMLIST' to see the current member list as follows:
NBOX NPOLYH NCYL NSLC NSNO NDlS NCON NPYR NCTO NRTO NXTR NREV
Both lists may be completely redefined or the keywords 'ADD' or 'REMOVE' may be used to add or remove particular entries.
The following example shows this functionality in a session:
Example:
UDOLIST SlTE ZONE
Define SITE, ZONE as the only valid owners
UDOLIST ADD SlTE ZONE
Add SITE, ZONE as valid owners
UDMLIST REMOVE ALL
Remove all allowed member types
The allowed owner list and member list for a UDET may be any system types allowed on the BASETY, plus any UDET based on these system types. In the example for :MYBOX the user could not add a ZONE to UDOLIST, or an EQUI to UDMLIST because the system type BOX of which the UDET is based does not allow this.
Another example would be a :MYBOX can only go under a SUBE, and that another UDET named :MYNBOX can only go under :MYBOX or BOX and is achieved as follows:
For the :MYBOX UDET:
UDOLIST SUBE UDMLIST :MYNBOX
For the :MYNBOX UDET:
UDOLIST :MYBOX BOX
Changing the allowed owners/members for a UDET could invalidate some existing instances. These are reported as warnings in DICE.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.