Here is a simple routine that should help plot all of the layout tabs in a drawing.
Note: This routine will print all of the layouts with the same setups -so this is a limitation and shouldn’t be applied to drawings that have layout tabs with various sizes and or orientation (Landscape and Portrait).
Last tested and used with AutoCAD 2011.
~Greg
;; Prints All Layout Tabs and names the new PDFs with the name of the ;; drawing followed by the layout tab name. ;; ;; Adjust the paper size and .ctb file as needed. ;; ;; The PDFs will be placed in the folder where the drawing resides ;; (defun c:PA () (foreach lay (layoutlist) (setvar 'CTab lay) (COMMAND "-PLOT" "Y" "" "DWG To PDF.pc3" "ANSI full bleed A (8.50 x 11.00 Inches)" "Inches" "PORTRAIT" "N" "E" "f" "C" "Y" "monochrome.ctb" "Y" "N" "N" "N" ""; Name of file "N" "y" ) ) )
Its Very Nice Script its Helps me in my Autocad Training
Thanks for Sharing it
What is the comment for this Lisp?
I don’t know what your question is.
The comments at the top explain that the routine does and that you should modify it to suit your needs.
Nice script, help a lot to me. Thank you.
how to put the script in to autocad 2014 please tell me