define auto plot area

define auto plot area

tarin_lc
Participant Participant
302 Views
1 Reply
Message 1 of 2

define auto plot area

tarin_lc
Participant
Participant

Hello
I want to create a feature that automatically determines the print area relative to the XYmin and XYmax points in a dynamic block.
I can extract the coordinates of these points but I can't determine the plot area according to these points. I'd also like, in the long run, to force a PC3 printer (PDF. PC3) and choose a paper size automatically in relation to the calculation of points. For example, xmax - xmin = 420, ymax - ymin = 297 => A3, etc...
thanks for all,

0 Likes
303 Views
1 Reply
Reply (1)
Message 2 of 2

Sea-Haven
Mentor
Mentor

A couple of questions like others, do plot titles, are there multiple blocks in Model space that you want to plot or are you using one title block per layout ?

 

Sample code of a plot lisp.

 

   (COMMAND "-PLOT"  "Y"  "" "Plot To PDF"
	       "Iso full bleed A3 (420.00 x 297.00 MM)" "m" "LANDSCAPE"  "N"   "W"  "-6,-6" "807,560" "1=2"  "C"
	       "y" "Acad.ctb" "Y"	"n" "n" "n" pdfName "N" "y"
    )

 

If you can post a dwg.

0 Likes