Batch Drawings and Layouts Manipulation
Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=7794
Printed Date: 19.Apr.2026 at 08:31
Topic: Batch Drawings and Layouts Manipulation
Posted By: strawhats
Subject: Batch Drawings and Layouts Manipulation
Date 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.
Thanks in advanced,
Regards,
Nicolas
|
Replies:
Posted By: John Connor
Date 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."
<<AutoCAD 2015>>
|
Posted By: strawhats
Date Posted: 11.May.2012 at 12:54
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.
Thanks in advance for your help.
|
Posted By: John Connor
Date 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
------------- "Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."
<<AutoCAD 2015>>
|
|