Sbeth85 Posted October 24, 2013 Posted October 24, 2013 I've tried Googling but haven't really gotten the hang of it. I have several files that each have around 8 Layouts on them. The Layouts each have multiple viewports. All the settings have been set, including ctb, PDF, and sheet size. Is there a way to set things up so that with one click, all 8 Layouts get plotted to PDF (or PLT), in their respective sheet sizes and settings? Quote
RobDraw Posted October 25, 2013 Posted October 25, 2013 One click? You don't want much do you? I suppose you could set up a button that would execute publisher with a preset list but it wouldn't be useful for anything but that one set. Publish is the way to go but all the layouts need the proper page set-up current. Quote
Tuns Posted October 25, 2013 Posted October 25, 2013 Executing 8 layouts... Pff.. Easy. -plot;no;layout1;;dwg to pdf.pc3;;n;y;-plot;no;layout2;;dwg to pdf.pc3;;n;y; and keep repeating that pattern in the macro for all 8 of them. NOTE: Change the "layout1" to the actual name of the layouts. If you like this can also be done to an entire folder with the click of a button. I will need to know if you use a page setup and what name the page setup is though. Quote
BIGAL Posted October 27, 2013 Posted October 27, 2013 Like Tuns the only reason I didn't post a lisp solution which is a one button press is that you say you want different sizes printed or do you mean print in our case A1 & A3 we just have a separate button for each size. Search here for BIGAL & plotting there are many examples its an older post. Quote
Sbeth85 Posted October 27, 2013 Author Posted October 27, 2013 Dear lord, why is that so complicated? I don't know how to do LISPs and whatnot... It seems like a simple request, no? If I've already set up the Layouts in the Layout Manager to their respective sizes (Plotter: DWG to PDF, Page size: A0 or A1 or whatever), then why can't there be a way to execute all of that in one go? Quote
ReMark Posted October 27, 2013 Posted October 27, 2013 You've been given three choices (Publish, macro/script, or lisp). Pick one. Quote
RobDraw Posted October 27, 2013 Posted October 27, 2013 then why can't there be a way to execute all of that in one go? Your original post said, "one click". That is complicated. There are a lot of clicks to set up something like that. If I've already set up the Layouts in the Layout Manager See posts #2 and #3. Once set up and saved, a drawing set of different sized sheets can be plotted in about 4 clicks, even if they have to go to different plotters/printers. Quote
mostafa badran Posted November 13, 2013 Posted November 13, 2013 try this (defun c:PDFL () (foreach lay (layoutlist) (setvar 'CTab lay) (COMMAND "-PLOT" "Y" "" "DWG To PDF.pc3" "ISO full bleed A0 (841.00 x 1189.00 MM)"; [color=red]size of paper[/color] "Millimeters" "Landscape" "N" "Extents" "f" "Center" "Y" "plot style"; [color=red]Name of plot style[/color] "Y" "N" "N" "N" ""; [color=red]Name of file[/color] "N" "y" ) ) Change the "plot style" name to the actual plot style you have. and paper size you need. Quote
tzframpton Posted November 13, 2013 Posted November 13, 2013 Two clicks.... click Publish then click OK. Of course this means you have to do a small amount of set up one time. You can even save the Sheet Set too. Quote
Chilidawg Posted November 15, 2013 Posted November 15, 2013 The thing about publishng to PDFs in different sheet sizes is that the only thing that changes between files is the margins. If you are publisng as PDF to two different sheet sizes that have the same ratio, you will get two files that are basically identical. and since you set the sheet size in Adobe, two files that are interchangable. 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.