I am trying to create a lisp routine that will do the following:
We are in the process of changing the numbering convention used to another, more functional system.
I will need to be able to list all 15,000+ drawings and what they will need to change to, and have the lisp basically open each drawing and run a global text change that will pick up and of the reference or title block information that contains that number and change it to what I specify as the new number, then save and close.
Any advice or help with creating this would be greatly appreciated!!!
-Neil
Solved! Go to Solution.
Solved by lgabriel. Go to Solution.
Hi,
My advice would be to contact a profesional developer or a service provider in your area.
Gaston Nunez
In Excel, create a table listing the following
Drawing File Name Existing Text New Text
Save as a comma delimeter file
Autolisp program would then open *.csv file, read one line at a time, which will:
1. Open drawing file
2. Change text
Keep in mind, any search and replace text lisp program will change every occurrence of the text throughout the drawing. Do not know if this is an issue.
I have serach and replace text Autolisp programs which would have to be modified to read the old and new text inorder to make the change (very minor).
Send me the CSV file with 5 drawing files and the five AutoCAD drawing files to lgabriel@whsystems.com and I will see what i can up with.
As you look in this forum, or by google,
there are several ways to access folders of DWGs.
If you present the criteria for the TEXT changes,
you may get more sugestions.
Also helpful, a small part of a DWG as an example,
in an DWG vesion, with no reactors or special fonts.