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

AVEVA™ Unified Engineering

Report_Labels

  • Last UpdatedAug 13, 2025
  • 2 minute read

The *Report_Labels task produces a report for all drawings produced in a process run. The report files are created in the specified directory. The content of the report is controlled by the external defaults file.

The file has three sections; the data extraction pml code, the header format, and the body format. The example reports on the labels and produces an output suitable for Excel input and is listed below:

-- Code - this section sets data into PML variables

!title = desc of site of ddnm

!dateTime = object dateTime()

!date = !dateTime.date() & '.' & !dateTime.month() & '.' & !dateTime.year()

!area = func of drwg

!tag = !!ce.exBtex

-- Header - this section is the report header text

Title;Date;Area;Sequence;Tags

-- Data - this section uses the pml variables to produce the report body

!title & ';' & !date & ';' & !area & ';1;' & !tag

When the task is activated, a report file is created with the relevant header text and the variable data is extracted to produce an entry in the report for each label on the drawing, for example:

Example

Title;Date;Area;Sequence;Tags

Mechanical Equipment;11.8.1999;Z;1;23CS500

In the example, an entry has been created for each piece of equipment with fields that give the site description, the current date, the area which is held as the function of the DRWG, the digit 1, and the display text from the SLAB label using an intelligent text string, for example #EQUI(C2:).

To modify the *Report_Labels task, on the Process Drawings Control Tasks window, select *Report_Labels in the Tasks Selected list and click Modify Task to display the /*Report_Labels window. The functionality of the /*Report_Labels window is explained. Refer to Process Settings for further information.

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