LEXICON Command
Reference Manual
User Defined Element Types
: Create a UDET Definition
Create a UDET Definition
The creation of a UDET has many similarities to the creation of a UDA covered in the previous chapters of this document.
UDET definitions must be created in the dictionary database as members of a UDET group (UDETGR) or as members of a UDET world (UDETWL).
A typical LEXICON session could be as follows:
Example:
NEW UDETWL /MYUDETWL1
NEW UDETGR /MYUDETGR1
NEW UDET /MYUDET
Create new UDET
UDNA 'TESTUDET'
Name the new UDET
BASETY EQUIP
Base the new UDET on an equipment
As with UDAs, the UDNAME attribute is used to hold the UDET name. The name will then be used for identification in the constructor modules.
Subsequently in constructor modules, elements of this type will be identified with a prefix colon, for example.
:TESTUDET
The UDNAME name may be up to 50 characters long. Unlike UDAs there is no minimum abbreviation.
A UDET must be based on any visible element type in the MODEL, DRAW, CATALOGUE and Property DBs. The BASETY attribute indicates what system type the UDET is derived from.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.