Find and replace via script or lisp.

bbortz

Usenet Archive
Joined
Jan 15, 2004
Messages
4
Reaction score
0
I am looking to do a find and replace to many drawings and many different values (keynotes - five digit numbers) per drawing. I can not find a way tosuppress the find and replace routine to the command line. I would like torun similar script like changing layer colors etc per drawing… yetto change text values in many objects (attblocks blocks mtext etc..) Would someone know how this could be accomplished. I am running on ADT 3.3. acad2002.
 
You can use the SuperFind sample application included
with AcadX to search/replace text across entire directory trees of drawing files very quickly.

http://www.caddzone.com/acad

I am looking to do a find and replace to many drawings and many different values (keynotes - five digit numbers) per drawing. I can not find a way to suppress the find and replace routine to the command line. I would like to run similar script like changing layer colors etc per drawing. yet to change text values in many objects (attblocks blocks mtext etc..) Would someone know how this could be accomplished. I am running on ADT 3.3. acad2002.
 
I not sure how to crank it up...

ECCAD said:
bbortz,
Attached .zip has Lisp / Dialog to select dwgs, search/replace up to (5)
strings per dwg. Outputs script,
and runs script. Condition, do not have a dwg open that you want to
process. I.E. open blank file, then crank it up. You will need to have a folder: c:\ec\miec\tools\ to contain all the files,
 
I found it..

bbortz said:
I not sure how to crank it up...

strings per dwg. Outputs script,
process. I.E. open blank file, then crank it up. You will need to have a folder: c:\ec\miec\tools\ to contain all the files,
 
Tony,

I've used your SuperFind a several times in the past and found it to be, SUPER! It's really a great tool to have when there is a misspelling in a bunch of files.

Thanks a billion!
Steve Doman
 
bbortz,
(load "/ec/miec/tools/search.lsp"); loads it
Be sure to place in c:\ec\miec\tools\ folder
Copy all the files, including the .arx there.
Shoud work fine.

If not, give me an E-Mail at:

Include phone # if you want.

Bob Shaw
 

Latest threads

Back
Top