The intended purpose of the AdapterForPdfPid is to
perform an extraction of data from different PDF files into a local.
UPVP database. The AdapterForPdfPid scans PDFs and
creates semi-intelligent P&IDs for use with the UniversalPlantViewer
and UniversalPlantViewer Builder. The program recognizes labels and sorts them into
user defined categories like “equipment, piperuns, instruments
etc.”. The user defined categories for label recognition must be put into an
excel data sheet. An example of a config.xlsx can be found in >“Files” The name of sheet 1 and sheet 2 can be modified. Important for the
adapter is that the both sheets are in the correct order. Sheet1 = “Patterns” Sheet2 = “Settings” After starting the AdapterForPdfPid on your device,
the following window will appear: After locating the input directory and defining the output file the
capturing process can begin. Additionally, the AdapterForPdfPid can be used to convert other PDF
drawings, such as equipment arrangement plans or isometric drawings, to
create semi-intelligent drawings and map them with the 3D model. The
document type can be defined in the config.xlsx in the tab sheet2. In
our example, the tab is called “Settings. For”DocType”, any name can be
chosen. Please note that IntelliPID is a protected term. Therefore, the
IntelliPID sketching module will only be available here. If no “DocType”
is set in the tab “Settings”, then the documents in this folder are
automatically treated as IntelliPID. If no “Settings” sheet exists in
the config.xlsx, then the documents in this folder are also
automatically treated as IntelliPID. By defining an ignore zone, users can exclude text recognition by the
AdapterForPdfPid. Text labels within the defined zone will be ignored by
the AdapterForPdfPid. This functionality could be useful for excluding
text label recognition in the title block of a drawing. The following images show the process the
AdapterForPdfPid goes through to generate
semi-intelligent P&IDs. Example input PDF with tank, pumps, valves, lines and additional
information: An extract of the resulting “config.xlsx” data sheet. This excel
sheet contains relevant data to be collected from several input PDFs.
The information is based on regular expressions (regex). The result viewed in the UniversalPlantViewer /
IntelliPID displays a full graphical representation as well as
that main text labels are recognized as intelligent objects. In the
following example, the semi-intelligent information is marked
yellow. The PDF P&ID objects and the 3D objects can be linked using
Mapping files. Additionally attributes can be loaded via the plugin
UPVpluginExcelImport.
AdapterForPdfPid
Introduction
The name of the created data sheet must be:
config.xlsx.

Graphical User Interface

The created excel sheet with the name “config.xlsx” must be in the same
folder as the import PDFs.
Initiate this process by clicking the “Capture” button.DocType
The PDF file containing the specific drawing type should be
one pager, otherwise it will be treated like DocType
“IntelliPID”.IgnoreZone

Example PDF P&ID


UniversalPlantViewer Builder

Keep in mind that the AdapterForPdfPid and the
UniversalPlantViewer Builder are intertwined through
the UniversalPlantViewer. For detailed information
click here.