CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.
Topic: Batch Drawings and Layouts Manipulation Posted: 11.May.2012 at 07:41
Hi,
I am looking for ways to carry lisp operations to all viewports, all dimension styles and to all dwg files in a specified folder. All notes or guidelines will be most welcomed.
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018 Status: Offline
Points: 7175
Posted: 11.May.2012 at 12:11
If you are trying to make changes to a number of drawings contained with a specific folder then I would suggest looking into the use of a script to batch process all the drawings. Batch files can contain lisp routines too or at least I think they can.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
So far I do know that script can be used with an application called script pro and others to execute the contents of the script (be it a series of commands or lisp) to all drawings in a specific folder.
I want a lisp that can change color of texts and dimension and extension lines in all the different dimension styles in a drawings and do so in all other drawings in a specific folder.
I am interesting to know the elements of writing such a lisp due to the fact that shop drawings means many drawings with many comment elements between them and an error means correction into multiple drawings.
Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018 Status: Offline
Points: 7175
Posted: 11.May.2012 at 12:58
You can find many, many custom lisp routines with a simple search of the Internet. I'm sure a handful of them will do what you want. Find one you like, test it, then incorporate it in your script file.
I recommend using ScriptWriter by Lee Mac which can be found here...
http://www.lee-mac.com/scriptwriter.html
Edited by John Connor - 11.May.2012 at 13:00
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum