Specification Name, Symbol Name, Catalogue Reference, Bore 1, gtype, bore2
2.3.24 User Defined Attributes Configuration Category
The User Defined Configuration Category is divided into two sub-categories:
• UDA List of Values Sub-Set
• DataSet Sub-Set
Each sub-category is concerned with one of the two types of User Defined Attributes (UDAs) that may be used in AVEVA P&ID:
• Attributes added to symbols and pipes using the standard AutoCAD Attribute Definition dialog, accessed from the Symbol Editor. Lists of valid values for these attributes can then be selected using the UDA List of Values sub-category.
• DataSet UDAs are groups of attributes that are set up for types of items or symbols that meet user-defined criteria. They are defined using the DataSet sub-category.
• UDA List of Values Sub-Set
The UDA List of Values application pane is divided into two sections.
The upper section is used to scan the symbols in the projects for UDAs. These are then listed in the lower section, which is used to select which lists of values are to be used when entering values for these UDAs on project drawings.
To scan for UDAs, check the Project Symbol Path and/or the Standard Symbol Path checkboxes to specify which project symbol directories are to be scanned. Select the Scan button.
All detected UDAs are then displayed in the lower section of the pane (all UDAs previously scanned by the Project Administrator will already be listed).
To specify a list of values, select it from the list in the appropriate LOV Name field. The default selection is <NONE>, i.e. no list of values is selected.
Lists of values are set up on the List of Values Configuration Category of the Administration program.
• DataSet Sub-Set
- Creating a DataSet
1. To create a new DataSet, select the Create New DataSet button. The Add New DataSet dialog is then displayed.
2. Enter the name of the new DataSet in the DataSet Name field.
3. The Criteria section is used to define the criteria that will specify which item the DataSet will be applied to. For example, for a particular type of equipment, or for equipment in general.
From the Item Type list, specify whether or not the criterion will be applied to an item class name, item group or symbol name.
4. From the Criteria list, select the required operator, e.g. equal to (=) etc,
5. From the Item Value list, select the required class name, item group or symbol name.
6. The Condition list is used if multiple criteria are to be used. Select AND to specify that the DataSet is to be applied to items that meet both criteria.
7. When the required settings for the first criterion have been defined, select the Add button. The details of the criterion are then displayed in the lower of the dialog.
8. If another criterion is to be defined, change the settings in the Criteria fields as required and select the Add button again. The second criterion is then added to the list of criteria.
In this example, the DataSet will be applied to all items that are in either the Equipment or Instrument item groups.
9. To delete a criterion, select it from the list and press the Delete button.
10. When all required criteria have been defined, select the Save button to save changes and close the dialog. The DataSet name and criterion are displayed in the DataSet List and Criterion fields on the DataSet Sub-Set pane.
To close the dialog without saving any changes, select the Cancel button.
- Defining DataSet Attributes
To define the attribute or attributes that comprise a DataSet, first select the DataSet from the DataSet List field. The item selection criteria of the DataSet (see above) are then displayed in the Criterion field.
1. Attributes are defined and displayed in the grid in the lower part of the DataSet Sub-Set pane. To add an attribute, select this button from the toolbar above the grid: . The Add New Attribute dialog is then displayed.
2. In the Attribute Name field, enter the name of the attribute. This name will be the title of the field used to enter the value for the attribute on the Properties dialogs of items that meet the DataSet criteria.
3. From the Data Type list field, select String.
4. If the values for this attribute are to be selected from a list of values, select this list from the LOV field. Lists of values are set up on the List of Values Configuration Category of the Administration program.
5. If the Properties dialog field for the attribute is to be automatically completed with a default value from the select list of values, select it from the Default Value field list.
6. Select the Save button to save changes and close the dialog. The attribute details are then displayed in the grid.
7. To close the dialog without saving any changes, select the Cancel button.
Repeat the above procedure for each attribute required for the DataSet.
- Editing and Deleting DataSets
To edit or delete a DataSet, select the DataSet from the DataSet List field. The item selection criteria of the DataSet (see above) are then displayed in the Criterion field.
To edit the DataSet, select the Edit Criterion button. The Edit DataSet Criterion dialog is then displayed with the existing properties of the DataSet displayed. Edit them as required as described above.
Attribute names cannot be edited. The attribute row must be deleted and re-entered with a new name.
To delete the DataSet, select the Delete DataSet button.
- Defining Valve Tag Properties for Automatic Valve Tagging
If valves are to be tagged automatically (see 6.10.25: Automatic Tagging), the format of valve tags is defined on the Automatic Tag Format Sub-Set of the Valves Configuration Category. The list of valve properties that are available for selection when defining this format are taken from a DataSet which must be set up for this purpose, as follows:
• The DataSet name must be "Valves"
• The DataSet criteria must be "Item_Group = Valve"
• Attributes may then be defined as required
For example:
Note that if the DataSet is not set up, or no attributes are defined for it, automatic valve tagging may still be used, but the valve tags cannot include any of the attributes of the valves.
- Defining the Pipe Groups DataSet
If pipes are to be allocated to groups for reporting purposes, the names and optionally the default values associated with these groups must be specified in a DataSet.
The DataSet must be defined as follows:
• The DataSet name must be "PIPE_GROUPS"
• The DataSet criteria must be "Item_Group = Pipes"
Specify the name of each pipe group in the Attribute Name fields. If required, enter the default user-defined attribute to be assigned to each pipe group in the Default_Value fields.
For example: