Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Team,
Presently i use the below code for plotting files in the layout.
;; 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:LL1 ()
(SETQ DWGPA (vl-filename-directory(GETVAR "DWGPREFIX")))
(foreach lay (layoutlist)
(setvar 'CTab lay)
(COMMAND "-PLOT"
"Y"
""
"GSS.pc3"
"ISO FULL BLEED A1 (594.00 x 841.00 MM)"
"Inches"
"LANDSCAPE"
"N"
"E"
"f"
"C"
"Y"
"pdf.ctb"
"Y"
"N"
"N"
"N"
""; Name of file
"N"
"y" )
)
)
Everything goes fine with this code.
Each time when i plot a files, the pdf generated with the file name with a - including layout name.
Presently my all dwg has only one layout. i want to modify this code to generate pdf with the file name alone. Kindly advise me.
And also how to include scale lineweight option into this code.
Solved! Go to Solution.