User Defined Attributes in User Elements
- Last UpdatedFeb 10, 2023
- 1 minute read
User Defined Attributes (UDAs) are applicable to all database types.
Having defined and compiled a set of UDAs in Lexicon, those elements defined as using UDAs will have the UDA UDNAME, preceded by a colon and followed by the UDA’s default setting, added to their standard attribute lists. For example, suppose an INTEGER UDA has been defined as follows:
|
Name /INT |
|
Lock false |
|
Owner /UGRO1 |
|
Udname ’CAPACITY’ |
|
Ablen 3 |
|
Utype INT |
|
Ulen 1 |
|
Rptx text |
|
Dflt 80 |
|
Descript text |
|
Elelist SITE |
|
Reflist |
Querying the attributes of a SITE element in MODEL would give something like:
|
Name /SITE1 |
|
|
Lock false |
|
|
Owner /* |
|
|
Position E 0mm N 0mm U 0mm |
|
|
Orient |
|
|
Y is N |
|
|
and |
Z is U |
|
:CAP 80 |
|
The UDA instance, that is, the reference to the UDA definition, appears at the end of the attribute list, with a colon as its first character.