Configure ScatteredText rule - SmartPlant Foundation - IM Update 48 - 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)

This rule is used to extract the text that is scattered in multiple lines as shown in the highlighted box in the following example image:

Version 2018_GSG_Configure Scattered text rule

You can configure and update a ScatteredText rule, using the following steps:

  1. Annotate the area in the PDF template file using the parameters to define the Target Object in the template, as shown in the following example:

    RT=ST|TO=TD|Attr=Name|Multi=True

    where,

    TO=TD(tag data)/TB(title block)/<Any business object configured in the property list module>| Attr=Property Attribute

  2. To update the configured rule in the Editing Rule for <Rule Name> window, click Configure Rule Configure Rule_Preprocessor Utility .

    In the Editing Rule for <Rule Name> window, you can do the following:

    • Select one or more of the following options:

      • Output Multiple Instances (Multi) - Select this option to extract all instances of the text from the output.

      • Trim Text (Trim) - Select this option to remove the spaces from the extracted text.

    • You can add a prefix and a separator to the extracted text by typing any custom text in the Prefix box and any characters in the Separator box. Alternatively, you can configure the rule in the PDF template file to include the prefix and separator.

      For example:

      RT=ST|TO=TD|Attr=Name|Multi=True|Separator=}|Prefix=ST

    • You can customize the scattered text patterns to be extracted by typing any custom text pattern in the Alternate Patterns box.

      For example: RT=ST|TO=TD|Attr=Name|Multi=True|ALTP1=AAA~A|ALTP2=123~1|Trim=False. Here, ALTP stands for Alternate Pattern and is defined with custom text patterns. The scattered text rule applies to the following:

      • The scattered text with pattern size similar to AAA or AAAA in the first row.

      • The scattered text with pattern size similar to 123 or 1231 in the next row.

      • The scattered text with pattern sizes similar to both AAA or AAAA in the first row and 123 or 1231 in the next row.

      You can define any number of alternate patterns in a scattered text rule.