Document Creation with Title Block Information - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

The image reader uses a third-party Optical Character Recognition (OCR) engine, such as ABBYY, to extract the data content from the file. Image files are extracted by ABBYY in a structured way, as an XML file, which determines if they are tags, documents, title block items, or other item types. The keyword "Tag" is used to identify tags and the keyword "Doc" is used to identify documents. The title block support for ABBYY content files includes the following keywords:

  • Titleblock_DrawingNo

  • Titleblock_DrawingTitle

  • Titleblock_Revision

  • Titleblock_Discipline

  • Titleblock_Project

  • Titleblock_Unit

  • Titleblock_DrawingDesc

  • Titleblock_DocType

  • Titleblock_Arg1 to Titleblock_Arg9

An image reader may extract a file name from the title block that does not correspond to the document name of the original file. In such a case, the set of files attached to the existing document are moved to the document that results from the title block of the content file.

For example, a set files abc.bmp, abc.OCR.pdf, and abc_SPFNContent.xml are attached to a document "abc". A rule exists that indicates the document name will be the same as the file name. The document "abc", when processed by the image reader, extracts the file name to be "xyz" from the title block, and as a result, a new document "xyz" will be created, and the files abc.bmp, abc.OCR.pdf, and abc_SPFNContent.xml will be attached to the document "xyz". In addition to this, if the document "abc" has no other files attached to it, then it will be deleted.

The creation of new documents, deletion of existing documents without any files attached to it, and the various document statuses with respect to this example are described in the following cases.

Case I

Scenario: The document "abc" has the files abc.bmp, abc.OCR.pdf, abc_SPFNContent.xml, and abc.tiff attached to latest version, and no document exists in Data Capture with the name "xyz". The image reader extracts the file name to be "xyz" from the title block of the document.

Result: A new document "xyz" will be created and the files abc.bmp and abc.tiff will be attached to the document "xyz". The status for the document "xyz" will be set to Document Loaded. The document "abc" will be deleted.

Case II

Scenario: The document "abc" has the files abc.bmp, abc.OCR.pdf, abc_SPFNContent.xml, and abc.tiff attached to latest version and abc.pdf attached to the previous version. In addition to this, no document exists in Data Capture with the name "xyz". The image reader extracts the file name to be "xyz" from the title block of the document.

Result: A new document "xyz" will be created and the files abc.bmp and abc.tiff will be attached to the document "xyz". The status for the document "xyz" will be set to Document Loaded. The document "abc" will be available with the file abc.pdf attached to the latest version, and the status will be set to Document Superseded.

Case III

Scenario: The document "abc" has the files abc.bmp, abc.OCR.pdf, abc_SPFNContent.xml, and abc.tiff attached to latest version and abc.pdf attached to the previous version. In addition to this, the document "xyz" with one or more files attached to it already exists in Data Capture. The image reader extracts the file name to be "xyz" from the title block of the document.

Result: The existing document "xyz" will be set to duplicate document. All the files already attached to the document "xyz" and the files abc.bmp and abc.tiff will be attached to the document master. The document "abc" will be available with the file abc.pdf attached to the latest version, and the status will be set to Document Superseded.

The description for the documents for which the status is set to Document Superseded is updated with Superseded by - <Document Name>, where <Document Name> stands for the name of the new document that has been extracted from the title block.