Label Items with UDAs
- Last UpdatedMar 14, 2024
- 3 minute read
This procedure is used to label items on a drawing with their User-Defined Attribute (UDA) values, including DataSet UDAs.
UDA values are entered on the Properties dialogs of items which have UDAs defined for them. When UDA values in Properties dialogs are changed, UDA labels on the drawing are automatically changed to reflect this.
For details of the use of this procedure in the context of drawing P&IDs, refer to Add User-Defined Attributes.
Associated Project Configuration Options
-
User Defined Attributes are set up using the User Defined Attributes - UDA List of Values Sub-Category and the User Defined Attributes - DataSet Sub-Category of the AVEVA P&ID Project Administration program.
-
Whether label symbols are being used, which symbols are being used, and the position of label symbols are defined in the Pipes - Labels Sub-Category, Equipment - Labels Sub-Category, Valves - Labels Sub-Category and Line Fittings - Settings Sub-Category.
-
The Designator Settings section in the Miscellaneous - Settings Sub-Category of the AVEVA P&ID Project Administration program is used to set project designator options.
Procedure
-
Start the procedure by either:
-
selecting the Insert UDAs option in the Symbol group of the Home tab, or
-
selecting the Insert UDAs option from the shortcut menu of The Drawing Page.
-
-
The Command prompt will display:
Select objects:
Select the objects to which UDAs labels are to be added.
-
The User Defined Data dialog is then displayed:

This displays a list of UDA label designators and values for the selected item.
Expand a DataSet node to view its attributes and values.
If the positions of label designators relative to the insertion point and each other is to be fixed, check the Fix position of designators checkbox and enter the relative position in the X Offset and Y Offset fields.
The value in the X Offset field controls the horizontal distance between each label designator and its value. The value in the Y-Offset field controls the vertical distance between each line of label designators and values when multiple labels are selected for insertion.
If the label is to be displayed as multi-line text, check the Use multi-line text checkbox and define the text box size using the Defined Width and Line Distance Space fields.
The value in the Defined Width field controls the horizontal width of the text box. The value in the Line Distance Space field controls the vertical line spacing for the text.
By default, the User Defined Data dialog only displays those designators that have values defined against them. In order to have the User Defined Data dialog display all designators, check the Display All Designators checkbox. Designators without values display a place-holder in the value column,for example:
<INS Altitude value>
Where "INS" indicates the relevant entity type (in this example instrument) and "Altitude" is the designator name.
To underline the text in the label, select the Underline text box.
-
Select data to label the item with by checking the checkboxes adjacent to the label designators and values. It is possible to add a value to a drawing without the associated label designator, but a label designator may not be placed without the associated value.
Click OK.
-
The Command prompt will then display:
Pick insertion point:
Pick the required point on the drawing for the first UDA label that was selected in the dialog. The first label designator will then be added to the drawing. Repeat for all selected label designators and their values.
If the Fix position of designators checkbox was checked, all label designators and values are added in one go, their positions determined by the values in the X Offset and Y Offset fields.