CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 3745
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

 

HelpCAD discussion

 
CAD Forum - Homepage 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.

Please abide by the rules of this forum.

How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedBatch Drawings and Layouts Manipulation

 Post Reply Post Reply
Author
strawhats View Drop Down
Newbie
Newbie


Joined: 11.May.2012
Location: Mauritius
Using: Autocad 2012, Inventor 2012
Status: Offline
Points: 4
Direct Link To This Post 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.

Thanks in advanced,

Regards,

Nicolas

Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post 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>>

Back to Top
strawhats View Drop Down
Newbie
Newbie


Joined: 11.May.2012
Location: Mauritius
Using: Autocad 2012, Inventor 2012
Status: Offline
Points: 4
Direct Link To This Post 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.



Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post 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."

<<AutoCAD 2015>>

Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,355 seconds.