Before you start
- Make sure the files you want to parse are ingested into a data model.
- Add access capabilities for parsing.
- Configure a location for the engineering diagrams.
-
Set the
mime_typeto application/pdf, image/jpeg, image/png, or image/tiff in CogniteFile.
Parse a diagram
1
Navigate to Diagram parsing
Navigate to Data management > Contextualize > Diagram parsing.
2
Select location
Select the location containing the engineering diagrams.
3
Choose parsing method
Select the file to parse, and then select:
- Run parsing: Select a symbol library for detecting symbols in the diagrams.
- Run advanced parsing to configure detection parameters: Select library: Select a symbol library for detecting symbols in the diagrams. Configure filters: Select the assets or files tab and filter to find the items to parse. Configure text detection: Adjust the text detection settings to improve accuracy.
4
Review the parsed diagram
Select under Actions to review the parsed diagram.
Review parsed diagrams
The parsed diagram has four tabs to verify different aspects of the automatic mappings:| Verification tab | What to verify |
|---|---|
| Tags | Map asset and file tags to data that’s already in CDF. |
| Symbols | Verify that vectors are correctly detected and mapped to symbols. This tab is only available for vectorized files. |
| Merge | Merge annotations with symbols. This tab is only available for vectorized files. |
| Connections | Verify that symbols are correctly connected. This tab is only available for vectorized files. |
For vectorized files, only the first page of the file is parsed. For rasterized files, you only work with the Tag detection tab.
1
Tags: Map asset and file tags to CDF
- Verify that the relevant tags are detected and correctly linked. Select one or several tags to verify or reject links.
Orange colors indicate a suggested link. Blue colors indicate a verified link.
- Select the plus icon on the toolbar to create a new tag and link it to an asset or file in CDF.
2
Symbols: Verify vectors as symbols
To add symbols to the library, select a vector in the diagram and then select which Asset class and Asset type the vector represents. You can also add the vector as a geometry to an existing symbol.If a symbol maps to the wrong asset, select the symbol and then Detach from symbol. Only this instance in this file is detached from the symbol.

3
Merge: Map tags and symbols
Tags and symbols that are merged are displayed in blue color. For unmerged entities, select the tag and symbol to bring up a modal for merging.
4
Connections: Verify connections
Verify that pipes are connected to all connected symbols. If a pipe isn’t detected or incorrect, open the Symbols tab to make corrections. Hover over a symbol to view the entire connection group and select a symbol to view or edit the closest connection.
5
Rerun parsing to apply changes
Rerun the parsing and verify that your changes have been recognized.