Finding and Replacing Text

Using the Find and Replace dialog box, you can find, replace, select, and zoom to any of the following types of text:

  • Line text (text created with the TEXT command)
  • Multiline text (text created with the MTEXT command)
  • Block attribute values
  • Dimension annotation text
  • Hyperlink descriptions
  • Hyperlinks

In your search criteria, you can indicate which types of text to find, whether to find whole words only and whether to match case. AutoCAD can find text in any loaded object in model space and in any layout defined in the current drawing. If you have partially opened the current drawing, the Find and Replace dialog box does not consider objects that you have not loaded. You can also limit the search to a specific selection set.

To find text

1 From the Edit menu, choose Find.
2 In Find Text String, enter the text you want to find.
3 In Search In, choose Entire Drawing or Current Selection to define the scope of your search.
4 Choose Options to specify the types of text to include in the search, whether to find whole words only, and whether to match the case of the specified text.
5 Choose Find.

AutoCAD displays the found text with its surrounding context in the Context area.

6 To zoom to the found text in the drawing, choose Zoom To.
7 Choose Close.

Command line FIND
Shortcut menu End any active commands, right-click in the drawing area, and choose Find.

To replace text

1 From the Edit menu, choose Find.
2 In Find Text String, enter the text you want to find.
3 In Search In, select Entire Drawing or Current Selection to define the scope of your search.
4 Choose Options to specify the types of text to include in the search, whether to find whole words only, and whether to match the case of the specified text.
5 In Replace With, enter the text with which you want to replace the found text.

6 Choose Find.

AutoCAD displays the found text with its surrounding context in the Context area.

7 To replace only the found instance of the text string, choose Replace.

or
To replace all instances of the text in Find Text String, choose Replace All.
AutoCAD confirms the replacement in the status area at the bottom of the dialog box.

8 Choose Close.

Command line FIND
Shortcut menu End any active commands, right-click in the drawing area, and choose Find.

To select all instances of found text

1 From the Edit menu, choose Find.
2 In Find Text String, enter the text you want to find.
3 Choose the Select Objects button to temporarily close the dialog box and create a selection set of the objects that you want to search for.
4 Press ENTER when you finish selecting objects.
5 In the Find and Replace dialog box, choose Options to specify the types of text to include in the search, whether to find whole words only, and whether to match the case of the specified text.

6 Choose Select All.

AutoCAD closes the Find and Replace dialog box and selects all objects containing instances of the found text. A message on the command line indicates how many objects AutoCAD found and selected.
Command line FIND

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment