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

AVEVA™ Engineering

Create New User Defined Attributes

  • Last UpdatedDec 20, 2021
  • 1 minute read

The first step is to create a Lexicon database hierarchy, see User Defined Attributes (UDAs). Commands used to create, delete and navigate around the Lexicon database elements are exactly the same as those used for any other database type: see the Administrator Command Reference Manual for details.

A typical Lexicon session could be as follows:

Example:

NEW UWRL /UWRL1

NEW UGRO /CENTRE_GRAVITY

DESC ’Centre of gravity attributes’

Create UDA World, UDA Group

NEW UDA /LENGTH UTYP REAL

Create and name UDA, type REAL

UDNA ’LENGTH’

Assign ‘user database’ attribute name,

ABLEN 6

Minimum abbreviation LEN

UUNI DIST

Set UDA units as system DISTANCE units

DFLT 0.00

Set default UDA value

Here, the default value of the UDA has been set to zero, but in a case such as temperature it might be set to be a value of (say) 20.0 to represent an ambient temperature.

RPTX ’Length’

Set column heading to be used in reports

ELE ADD STRU SUBS

Define element types that are to use the UDA

COMPILE

Implement the UDA definition

The COMPILE command reports any definition errors and makes the UDA definition changes immediately available within Lexicon to other windows such as the Database Views Editor or the Schematic Model Manager Attribute Mapping dialogue. Without using the COMPILE command ('Validate' from the Lexicon Edit menu) the UDAs may not be visible in the windows or dialogs presented. Performing a Savework will make the definitions available to other modules once a GetWork is performed by them.

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