Selected_Text_and_Dimension_Attributes

This check verifies whether the formatting of texts, measurements elements match the specifications for line decoration (underline, overline, strikethrough), frames, font attributes, text color. Additionally, the criterion can check attributes of annotations.

This page discusses:

Context

This check can verify formatting properties that apply to the entire text or dimension element, or to subtexts:

  • Subtexts are one or several characters of a text element.
  • Texts refer to the entire text element.
  • Format properties of dimensions are valid for the entire element. A different formatting of subtexts is not possible and is ignored by this check.

To change the formatting of an element, right-click it and select Properties > Font tab or Text tab.

Check Information

Check Details Description
Applicable to: DrwDrawing
Automatic Solution:
Check Parameters:
  • StdSelectedTEXTD2ElementAttributes_CheckOnlyTheseFonts: List(String).

    To check only text in certain fonts, add the respective font names to this list.

  • StdSelectedTEXTD2ElementAttributes_NoScoringForText: Boolean.

    If this option is selected, texts and dimensions must not be underlined, overlined, or crossed out

    Note: By default, the value is set to True.
  • StdSelectedTEXTD2ElementAttributes_NoScoringForSubText: Boolean.

    If this option is selected, sub-strings of texts must not be underlined, overlined, or crossed out

    Note: By default, the value is set to True.
  • StdSelectedTEXTD2ElementAttributes_NoFramingForText: Boolean.

    If this option is selected, texts and dimensions must not be framed.

    Note: By default, the value is set to True.
  • StdSelectedTEXTD2ElementAttributes_NoFramingForSubText: Boolean.

    If this option is selected, substrings of texts must not be framed.

    Note: By default, the value is set to True.
  • StdSelectedTEXTD2ElementAttributes_CheckRatioForText: Boolean.

    If this option is selected, the character ratio for the entire element must be in the specified value range.

    Note: By default, the value is set to False
  • StdSelectedTEXTD2ElementAttributes_CharRatioForTextMin: Real.

    Minimum character ratio for the entire element.

    Note: By default, the value is set to 100%.
  • StdSelectedTEXTD2ElementAttributes_CharRatioForTextMax: Real.

    Maximum character ratio for the entire element.

    Note: By default, the value is set to 100%.
  • StdSelectedTEXTD2ElementAttributes_CheckRatioForSubText: Boolean.

    If this option is selected, the character ratio for any substring must be in the specified value range.

    Note: By default, the value is set to False.
  • StdSelectedTEXTD2ElementAttributes_CharRatioForSubTextMin: Real.

    Minimum character ratio for sub-strings.

    Note: By default, the value is set to 100%.
  • StdSelectedTEXTD2ElementAttributes_CharRatioForSubTextMax: Real.

    Maximum character ratio for sub-strings.

    Note: By default, the value is set to 100%.
  • StdSelectedTEXTD2ElementAttributes_CheckSpacingForText: Boolean.

    If this option is selected, the character spacing for the entire element must be in the specified value range.

    Note: By default, the value is set to False.
  • StdSelectedTEXTD2ElementAttributes_CharSpacingForTextMin: Real.

    Minimum character spacing for entire element.

    Note: By default, the value is set to 0%.
  • StdSelectedTEXTD2ElementAttributes_CharSpacingForTextMax: Real.

    Maximum character spacing for entire element.

    Note: By default, the value is set to 0%.
  • StdSelectedTEXTD2ElementAttributes_CheckSpacingForSubText: Boolean.

    If this option is selected, the character spacing for any substring must be in the specified value range.

    Note: By default, the value is set to False.
  • StdSelectedTEXTD2ElementAttributes_CharSpacingForSubTextMin: Real.

    Minimum character spacing for sub-strings.

    Note: By default, the value is set to 0%.
  • StdSelectedTEXTD2ElementAttributes_CharSpacingForSubTextMax: Real.

    Maximum character spacing for sub-strings.

    Note: By default, the value is set to 0%.
  • StdSelectedTEXTD2ElementAttributes_CheckAlsoAnnotations: Boolean.

    If this option is selected, the criterion will also check annotations, in addition to texts and dimensions. In annotations, only the entire text is checked, as formatting of subtexts is not available for annotations.

    Note: By default, the value is set to False.
  • StdSelectedTEXTD2ElementAttributes_CheckDisplayMode: Boolean.

    If this option is active, the display mode of annotations is checked.

    Note: By default, the value is set to True.
  • StdSelectedTEXTD2ElementAttributes_PermittedDisplayMode: String.

    Specify the required display mode from: Show Value, Show Box, Hide Value.

    Note: By default, the value is set to ShowValue.
  • StdSelectedTEXTD2ElementAttributes_NonAllowedColorRangesForText: List(String).

    Specify the non-allowed RGB colors or color ranges for entire elements. Examples: "255, 0, 45"; "0-127, 64-127, 255".

  • StdSelectedTEXTD2ElementAttributes_NonAllowedColorRangesForSubText: List(String).

    Specify the non-allowed RGB colors or color ranges for sub strings. Examples: "255, 0, 45"; "0-127, 64-127, 255".

  • StdSelectedTEXTD2ElementAttributes_ApplyCorrectionAsPerParameters: Boolean.

    The correction function sets attribute values as specified for the check parameters: For Range parameteres (such as Spacing, Ratio), minimum value specified is used for correction.

    Note: By default, the value is set to False.
  • StdSelectedTEXTD2ElementAttributes_ApplyCorrectionColor: String.

    Correct color to be applied during correction.

    Note: By default, the value is set to "0,0,0".