Configure ScatteredText rule - HxGN SDx - Update 64 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

This rule is used to extract the scattered text in the highlighted box. This rule is similar to the SpecifiedArea rule but is used to extract the text in multiple lines.

You can define the scattered text rule using the following parameters:

RT=Stator=Property Attribute

For example:

RT=Stator=Property1

You can configure the 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:

    TO=TB|Attr=TitleBlock_Project

    where,

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

  2. In the Editing Rule for <Rule Name> window, click on the Value column to modify the attribute value.

    • In the Editing Rule for <Rule Name> window, you can select one or more of the following check boxes:

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

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

        For example:

        RT=ST|TO=TD|Attr=Name|Sep=-|Trim=True

  3. Add a prefix and separator to the annotated text by typing custom text as a prefix in the Prefix box and a character in the Separator box.

    Alternatively, you can include a prefix and separator by configuring rule for the annotated area in the pdf template file. For example: RT=ST|TO=TD|Attr=Name|Sep=/|Prefix=ST|Trim=True

  4. Customize the scattered text patterns to be extracted by typing custom text pattern in the Alternate Patterns box.

    For example: RT=ST|TO=TD|Attr=Name|Multi=True|ALTP1=AAA~AAAA|ALTP2=123~1234|Trim=False. Here, ALTP stands for Alternate Pattern and is defined by custom text patterns. The scattered text rule now 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 1234 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.

  5. Click OK.

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