dcran Posted April 9, 2012 Posted April 9, 2012 I am new at this so hope you can understand me. Using a lisp routine, I am trying to plot multiple dwgs from one folder to another. So far i am able to: 1. Select the path 2. List the files in the folder 3. Open and make a script file to preform 4. Open each dwg (One at a time) 5. Preform commands 6. Save and Close each dwg 7. Loop the Script until finished The next step I want to do is add another command to automatically plot dwfs for each dwg and place them in the folder. I works thus far without plotting though. I'm not sure how to proceed at this point. Can anyone help? Quote
rkent Posted April 9, 2012 Posted April 9, 2012 You can easily use the PUBLISH command to handle all of that, just in case you didn't know about it. Quote
dcran Posted April 10, 2012 Author Posted April 10, 2012 I do use "Publish" alot but I wanted to automate the process so that I would not have to go through the many steps within the dialog. I wanted to see if I could just to select a folder with the dwg files in it and select a destination folder for these files to be placed. Then plot the files as dwf using a preset page setup which I have already created as a dwt. Sending these files to the designated folder. I figure I can do this in just to steps after it loads as a lsp routine. Quote
BIGAL Posted April 10, 2012 Posted April 10, 2012 There is a number of lisp autoplot examples here start with this one just add (load "mydwfplotroutine") in your script http://www.cadtutor.net/forum/showthread.php?67143-One-Click-Printing Also search using PLOT lots of example code their Quote
irneb Posted April 10, 2012 Posted April 10, 2012 If you simply want to set the "default" page setup for a tab (or more than one tab), you might want to look at my code over at AUGI (Post #12): http://forums.augi.com/showthread.php?80461-Page-Setup-Manager Post #13 shows a sample script to import setups and set them current. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.