I need the script file to plot/publish autocad drawing layout in multiple pages pdf file
For plot it worked but for only one layout ... i need to export multiple layout in different pages in single pdf file
for publish it came like {publish.scr} cant find the file
can anyone help me with this ?
// for plot
(setq CurrDwgName (getvar "dwgname"))
(setq Fname (substr CurrDwgName 1 (- (strlen CurrDwgName) 4)))
(setq name (strcat (getvar "DWGPREFIX") Fname ".pdf"))
;Command:
-PLOT
;Detailed plot configuration? [Yes/No] <No>:
YES
;Enter a layout name or [?] <Model>:
Model
;Enter a layout name or [?] <Layout1>:
Layout1
;Enter a layout name or [?] <Layout2>:
Layout2
;Enter an output device name or [?] <Microsoft Print to PDF>:
DWG To PDF.pc3
;Enter paper size or [?] <ISO full bleed A4 (210.00 x 297.00 MM)>:
ISO expand A3 (420.00 x 297.00 MM)
;Enter paper units [Inches/Millimeters] <Inches>:
Millimeters
;Enter drawing orientation [Portrait/Landscape] <Portrait>:
Landscape
;Plot upside down? [Yes/No] <No>:
No
;Enter plot area [Display/Extents/Limits/View/Window] <Display>:
Extents
;Enter plot scale (Plotted Millimeters=Drawing Units) or [Fit] <Fit>:
Fit
;Enter plot offset (x,y) or [Center] <0.00,0.00>:
Center
;Plot with plot styles? [Yes/No] <Yes>:
Yes
;Enter plot style table name or [?] (enter . for none) <>:
monochrome.ctb
;Plot with lineweights? [Yes/No] <Yes>:
No
;Enter shade plot setting [As displayed/legacy Wireframe/legacy Hidden/Visual styles/Rendered] <As displayed>:
;Enter file name <D:\FtpRoot\WorkerShared\w11i1j11\acad_test-Model.pdf>:
!name
;Save changes to page setup [Yes/No]? <N>
No
;Proceed with plot [Yes/No] <Y>:
Yes
// this is for the publish
; Publish all layouts to a single PDF in folder with spaces
-PUBLISH
ALL
Y
DWG To PDF.pc3
ISO expand A3 (420.00 x 297.00 MM)
Millimeters
Landscape
Fit
Yes
monochrome.ctb
No
As displayed
"C:\Users\Admin-User\Desktop\Test model\acad_test.pdf" ;
Yes