Hi Eddy,
You can use a batch file to launch AutoCAD, open one drawing and run a
script, then Save and exit AutoCAD and re-start all over again using the
batch file. This way I get over the problem of a script losing control
while processing multiple drawings. The other options are to write an
ActiveX based Lisp program that will works with multiple drawings but
that needs programming to be done.
I have attached a script, batch file and an acad.lsp file to help you
get started. You will need to make necessary changes to them to add your
statements.
Let me know if you have questions.
Regards
Rakesh
e.barelds@beenen.nl wrote:
> I have got a couple of drawings that I want to change in the same dir. Is there a possibility to open these drawings, run a script, close the drawing and do also to the rest of the drawings in this dir?
>
> I already have a script that makes a list of files of the dir. but when I open a drawing the current drawing closes and the script stops. So every drawing I have to start the script again.
>
> Thanx, eddy.
--
AutoCAD customization for Engineering/Mapping/GIS
Get GeoTools @ http://www.4d-technologies.com/geotools
Build MyGeoTools @ http://www.4d-technologies.com/geotools/my_geotools.htm
FREE downloads : http://www.4d-technologies.com/techcenter