Detail View Name

This check verifies whether the name of a detail view (2D component reference) corresponds to the specification.

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

This page discusses:

Context

You can create a 2D component reference (called detail view) in a sheet and edit it like a view. For more information, see 3D Modeling | Mechanical Systems | Drafting | Drafting | Working with 2D Components.

If the name of a 2D component includes special characters, the name is not displayed correctly.

Detail Name with a Special Character

The check compares the names to regular expressions.

Important: This check only verifies the formal correctness and not the correctness of the contained information.

Check Information

Check Details Description
Applicable to: DrwDetail
Automatic Solution:
Check Parameters:
  • StdDetailViewNameReplace: String List.

    Specifies the list of strings to replace in the names of the detail views.

  • StdDetailViewNameFilename: String type.

    Specifies the string pattern to use in the name of every detail views.

  • StdDetailViewNameCaseSensitivity: Boolean type.

    Specifies whether the verification of the names of the detail views is to be case sensitive.

    Note: By default, the value is false.

  • StdDetailViewNameReplaceBy: String List.

    Specifies the list of strings that are to replace the corresponding strings listed in the StdDraftNameReplace parameter.

  • StdDetailViewNameIdentifier: String type.

    Specifies the name to use to rename the detail sheets that do not comply with the specified naming pattern.

    Note: To skip this healing option, leave the Value field empty.

Check Failure Resolution

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

You can also use the healing option to rename the detail views according to the values specified in the following check parameters:

  • StdDetailViewNameIdentifier
  • StdDetailViewNameReplace
  • StdDetailViewNameReplaceBy

Tip: Refer to the error messages to correct the name of the 2D component accordingly.

For example:

Error message Troubleshooting
BEGIN_BLOCK
"Detail$"
ERROR_MSG
"2D component name does not end on 'Detail'."
"Change the detail sheet name."
END_BLOCK
Add the string Detail at the end of the 2D component name.
BEGIN_BLOCK
"View[0-9]+"v
END_BLOCK
Add the word Component followed by digits in the 2D component name.