Text Content Must Match Sheet Format

This check verifies whether the content of text elements partly or fully matches the format name of the sheet on which the text elements are located.

If not, the check fails and the elements appear as incorrect.

This page discusses:

Context

You can use this check at the end of the drawing design process to verify whether a text contains the format of the sheet.

Example of a Successful Check

Example of a Failed Check (Text Not Matching the Sheet Format)

Check information

Check Details Description
Applicable to: DrwDrawing
Automatic Solution
Check Parameters:
  • Text_Identifier: String type.

    Specifies the identifier of the text element to verify.

    Note: By default, the field is empty. The check verifies all the texts and elements in the current element selection.
  • Text_Content: String type.

    Specifies a regular expression corresponding to the text content to find.

    For example, if the text element to verify includes "SIZE A4 ISO" or "SIZE A3 ISO", specify ^SIZE /D .* as the regular expression.

    Note: By default, the fiels is empty. All the text content are verified.

  • Sheet_Format_Name: String type.

    Specifies a regular expression corresponding to the name of the sheet format.

    Enter the substring of the sheet format name to find as a capture between parentheses. For example, if the sheet format to verify is "A2 ISO" or “A4 ISO", specify ^(A[2-4]) ISO$ as the regular expression.

    Note: By default, the field is empty. All sheet formats are verified.

Check Failure Resolution

If the check fails, change the sheet format mentioned in the text that you created in the sheet.