Tag Classes in Graphical Data
- Last UpdatedOct 24, 2024
- 2 minute read
Graphical data can be generated when you are exporting the elements. You can specify the presentation settings and the mapping for tagging the classes.
When you are exporting graphical data, you can specify how the tag ID of the class must appear in the SVG file through the SVG tab in the Class Mappings page. The tag ID for the class is retrieved from the mapping specified here and the same is displayed on the SVG file when the class is selected.
Note: Tagging is supported for design elements and only for those classes that can be selected in the SVG file. Accordingly, the settings in the SVG tab are applicable to only those element types. Also tagging depends on the associated Model configuration. For more information on how the output is generated with the combination of a Draw and an associated Model configuration, see Publish Data to AVEVA™ Asset Information Management.
To map the tag ID and model name of a class:
-
Click the Drawings tab, and then click Class Mappings.
-
Select the required class in the class list.
-
Click the SVG tab. The Drawing name/Tag ID and Folder name (optional) area appears depending on the class you have selected.

-
Do one of the following:
-
If you want to specify the mapping value for the drawing name/tag ID and folder name directly, select the Constant option and enter a value in the Text box. The specified value is used as the drawing name/tag ID and folder name of the class.
Note: You can add the value to the list by clicking the Add icon. Click the Delete icon to delete the selected value from the list. When you delete a value from the list, the mapping for the drawing name is also deleted.
-
If you want to derive the drawing name/tag ID and folder name from the value of an attribute, select the From Attribute option and select an attribute from the Attribute name list. The attribute value is used as the drawing name/tag ID and folder name for the class.
-
If you want to derive the drawing name/tag ID and folder name from a PML expression, select the From PML option and enter a PML expression in the PML Expression box. The result of the PML expression is used as the drawing name/tag ID and folder name for the class.
Note: The drawing name/tag ID for the classes without a mapping are not displayed in the SVG file.
-