nanoCAD Platform Help

Find and Replace

CAD drafting Find and Replace 0Main menu: Edit >CAD software Find and Replace 1Find and Replace....

CAD drawing Find and Replace 2Main menu: Mechanical - Edit >CAD drafting Find and Replace 3Find and Replace....

CAD software Find and Replace 4Ribbon: Mechanical - Utilities >CAD drawing Find and Replace 5Find and Replace....

CAD drafting Find and Replace 6Toolbar: Edit >CAD software Find and Replace 7Find and Replace....

CAD drawing Find and Replace 8Command line: MCFIND, FIND.

CAD drafting Find and Replace 9Shortcut: Ctrl+F.

The "Find and Replace" tool is used to find and replace string values in nanoCAD Mechanica 25 objects in a drawing or in an object base.

CAD software Find and Replace 10

Search

1. Call the command. A dialogue will open "Find and Replace".

2. In the "Find what:" field, enter the search phrase.

3. Select "Search in" from the list, or by using the additional button CAD drawing Find and Replace 11 that defines the search area. The button action depends on the context of the "Find and Replace" command call. If the command is called from the object manager, the "Quick selection" window opens.

4. Select search parameters :

  • Match case. If the flag is set, the search is case-sensitive.
  • Match whole words. If the flag is set, the search is performed for individual words, that is, combinations of characters separated by punctuation marks or spaces.
  • Search within found. The switch is available after the string has been searched and limits the search range.
  • Use extended options. The switch is available when searching in the object database. Click the button CAD drafting Find and Replace 12 opposite the parameter and in the window that appears, select the advanced search areas.

    CAD software Find and Replace 13

  • Use regular expressions. Enables search mode with additional selection conditions. Click the button CAD drawing Find and Replace 14 opposite the parameter and select the required expression from the list that appears. When you hover over a list item, a tooltip appears with a detailed explanation. The choice of expression is made with the left mouse button. Multiple regular expressions can be used together.

    CAD drafting Find and Replace 15

  • Multiline text. Turns on the search mode for multi-line text.
  • Search in hidden objects. Turns on the mode when both visible and hidden objects are searched.
  • Search in blocks. Turns on the mode when the search is carried out inside the blocks.

5. Click the "Find all" button, the search process will start.

6. The search result will be displayed in the table.

Search result

The search result is displayed in the table. Data is sorted by mouse click in the column header. The "Next" button allows you to move the active row in the table.

CAD software Find and Replace 16

The table has additional commands:

  • CAD drawing Find and Replace 17Clear all - clears the search result list.
  • CAD drafting Find and Replace 18Group results by objects - displays results for objects.
  • CAD software Find and Replace 19Show object - shows the object corresponding to the selected row in the drawing. The object is shown even if it is on an inactive sheet.
  • CAD drawing Find and Replace 20Edit object - opens a dialog box for the object corresponding to the selected row.

Replace

1. Search for objects to replace.

2. In the "Replace with" input field, enter the text string to replace the found lines with.

3. Click the "Replace" or "Replace All" button:

  • The "Replace All" button replaces all found fragments with a new value.

  • The "Replace" button starts the process of successive replacement of the found fragments. To replace all found fragments, press the "Replace" button each time, while the active line will move through the table below. The "Next" button allows you to move the active row through the table, skipping the next found fragment in the list without replacing it with a new value.