The easiest way to search and replace text is to use the SEARCH AND REPLACE TEXT WIZARD found under Hurricanes "Wizards" menu.
Just fill in the blanks, and check off what you require it to search through, and press CREATE. A user-script will be created that you can use on more than one drawing...
You can also do things the "manual way", and call your favorite search and replace lisp routine. The one that came with most early versions of AutoCAD is CHText.lsp.
To load the routine into your current AutoCAD session, type
(APPLOAD "CHT.LSP")
at the command prompt, or type APPLOAD and follow the dialog box to select CHT.LSP file, and make sure you click on LOAD.
(As long as CHT.LSP is in your SUPPORT directory, then you won't have to specify a path when using the APPLOAD command)At this point, if you type CHT at the command prompt, you will invoke the CHT.LSP routine. Here is an example script
;YOU MUST HAVE CHTEXT.LSP
;LOADED FOR THIS TO WORK
CHT
ALLT
ORIGINAL TEXT
REPLACEMENT TEXT;End of Script
Previous | Back to Hurricane for AutoCAD - FAQ | Next |