To Find a Text String in Project Source Files (Visual LISP IDE)

Using project files, you can locate and replace a text string across multiple source files.

Note: The Visual LISP IDE is available on Windows only.
  1. In Visual LISP, click Search Find.
  2. In the Find dialog box, Find What box, enter the text string to search for.
  3. Under Search, click Project.
  4. In the Project list, select the project file that contains the files you want to search.
  5. Set the Direction and matching options.
  6. Click Find.

Example

This example uses the Visual LISP tutorials files. If you have already installed AutoCAD and did not install the tutorial files, rerun the installation, click Add or Remove Features, and add the Visual LISP (R) Tutorials item.

  1. In Visual LISP, click Project Open Project.
  2. In the Enter Project Name dialog box, click Browse.
  3. In the Open Project dialog box, browse to the <AutoCAD Install>\Tutorial\VisualLISP\Lesson5 folder. Select gpath5.prj and click Open.
  4. In Visual LISP, click Search Find.
  5. In the Find dialog box, Find What box, enter gp:getPointInput.
  6. Under Search, click Project.
  7. In the Project list, select gpath5 if more than one project is open.
  8. Click Find.
  9. In the <Find Output> window, double-click within one of the highlighted lines to open the source file and scroll to the location that the text string was found.
    Note: You can also press Shift+F11 to display the first source location at which the text string was found, and then repeatedly press F11 to view subsequent occurrences in the source files.