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.
- In Visual LISP, click Search Find.
- In the Find dialog box, Find What box, enter the text string to search for.
- Under Search, click Project.
- In the Project list, select the project file that contains the files you want to search.
- Set the Direction and matching options.
- 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.
- In Visual LISP, click Project Open Project.
- In the Enter Project Name dialog box, click Browse.
- In the Open Project dialog box, browse to the <AutoCAD Install>\Tutorial\VisualLISP\Lesson5 folder. Select gpath5.prj and click Open.
- In Visual LISP, click Search Find.
- In the Find dialog box, Find What box, enter gp:getPointInput.
- Under Search, click Project.
- In the Project list, select gpath5 if more than one project is open.
- Click Find.
- 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.