Does anyone have any code that will replace XXX in a drawing with for example 001 (rsxxxa20 will be rs001a20). I need to update 300 drawings. Find and replace works for each drawing, but it's a long day.
Instead of AutoCAD's replace you could use a lisp routine. Write a script to open/close the 300 drawings and run the lisp. A replace text routine (reptext) can be found at
According to the readme file that comes with the download you can supply the input within the script file. In the line asking for selection the line in the script should read "all".
I played around with it today. I think I'm going to search for another way. The program limit's you to 5 drawings on the demo. Also I noticed that it doesn't supply the close statement. I figured out how to open and close drawing thru Access using VBA. If I could access autocad find and replace I would be set. I'm sure the code isn't the same as the dialog box. I have to read up on it tonight.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.