View Name Must Match Sheet Name

This check verifies whether the view name corresponds to the sheet name.

If the strings are different, the check fails, and an error appears.

Note: You can compare entire names or sub-strings.

This page discusses:

Context

In some contexts, the name of a view must correspond to the name of the sheet. This enables you to select and process views automatically.

Check Information

Check Details Description
Applicable to: DrwSheet
Automatic Solution:
Check Parameters:
  • StdViewNameMatchSheetNameSheetNamePatterns: String type.

    Specifies the list of naming patterns to verify in the names of the sheets.

  • StdViewNameMatchSheetNameAll: String type.

    Specifies whether a naming pattern must be followed by at least one view or by all the views of a sheet.

    Note: By default, the value is StdViewNameMatchSheetNameAtLeastOneViewShouldFollowPattern: the naming pattern must be followed by at least one view.

  • StdViewNameMatchSheetNameViewNamePatterns: String List type.

    Specifies the list of naming patterns to use in the name of at least one sheet view, or in all sheet views.

    Note: If the name of a sheet follows an n-indexed pattern from the StdViewNameMatchSheetNameSheetNamePatterns parameter, then at least one view of that sheet (or every views, depending on the specified StdViewNameMatchSheetNameAll parameter) must follow the n-indexed pattern from the StdViewNameMatchSheetNameViewNamePatterns parameter.

Check Failure Resolution

If the check fails, right-click the view and enter a new name in the Properties > View tab.