Plot script

Plot script

logojanos5S7KN
Community Visitor Community Visitor
945 Views
2 Replies
Message 1 of 3

Plot script

logojanos5S7KN
Community Visitor
Community Visitor

Hi,

I need print some A4 PDF from the model space, and I tried to write a script. But my problem if the papers are in some rows and some columns and my script it's not working correct. Can anyone help me with this? I attach the dwg and this is my script. 

 

Thanks

PLOT
;Detailed plot configuration? [Yes/No]:
_Y
; Enter a layout name or [?] <Model>:
sample
; Enter an output device name:
DWG To PDF.pc3
; Enter paper size:
ISO full bleed A4 (210.00 x 297.00 MM)
;Enter paper units [Inches/Millimeters]:
_Millimeters
;Enter drawing orientation [Portrait/Landscape]:
_Portrait
;Plot upside down? [Yes/No]:
_No
;Enter plot area [Display/Extents/Limits/View/Window]:
_Window
;Enter lower left corner of window:
0.000000,0.000000
;Enter upper right corner of window:
21.000,29.700
;Enter plot scale (Plotted Inches=Drawing Units) or [Fit] <1=1>:
_Fit
;Enter plot offset (x,y) or [Center]:
_Center
;Plot with plot styles? [Yes/No]:
_y
;Enter plot style table name (enter . for none):
.
;Plot with lineweights? [Yes/No]:
y
;Enter shade plot setting [As displayed/legacy Wireframe/legacy Hidden/Visual styles/Rendered] <As displayed>:

;Enter file name <C:\Users\*******.pdf>
sample1
;Save changes to page setup [Yes/No]:
y
;Proceed with plot [Yes/No]:
y
;Proceed with plot [Yes/No]:
y

 

0 Likes
946 Views
2 Replies
Replies (2)
Message 2 of 3

pendean
Community Legend
Community Legend
>>>... if the papers are in some rows and some columns...<<<
Can you elaborate?

If I may ask, why are you handicapping yourself with the WINDOW only option? If you are going to that much trouble, why not create and use a named VIEW in the file instead?
0 Likes
Message 3 of 3

maratovich
Advisor
Advisor

If your title blocks are not on the same line, it is difficult to do it with a script.

Maybe you can help it - Revers 

 

 

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes