hi ,
i have approximately 100 dwg files in my folder , and i have to purge and audit all of those files , is there any easy way or lisp for open files / run commands which i want / save & close file / open next dwg and the same procces for until finish all files ...
thank you for your help
Solved! Go to Solution.
Solved by Ajilal.Vijayan. Go to Solution.
Solved by hmsilva. Go to Solution.
I would suggest a script (.scr) file, and Autodesk's Scriptpro to process all dwg's.
EDIT: attached is a Sample.scr.txt, remove the .txt, using Scriptpro, your script don't nead to call the close command, the program will close the dwg and open the next one.
Henrique
Also if you are using Acad 2013 or later version use accoreconsole.exe to run the script file.
To use accoreconsole, you need to create a *.bat file with the below line.
FOR %%f IN ("C:\dwgfiles\folder\*.dwg") DO "C:\Program Files\Autodesk\AutoCAD 2014\accoreconsole.exe" /i "%%f" /s "C:\myscript.scr" /l en-US
Edit the paths(highlighted in blue) as per your requirements.
Save the *.bat file anywhere you like, and double click on this bat file will start accoreconsole to process the drawings.