CafeJr 发表于 2022-7-5 18:29:29

Plot Views, sheets at the same

Hi to everyone!...
 
 
Someone knows a Lisp to plot a internal sheets of a model space file? Eg.: I have a dwg file with 10 sheets internal, I know how to put name at each sheet (NEWVIEW) and it appears at same place of Extend, Display or Window at plot configuration screen. If I put names as a numbers: 1, 2, 3,..., 10, it's possible to select one page or all to plot at the same time? Or create a Lisp that can help it!?...
 
 
Thanks in advance!...
 
 
Its possible using a comand:
-plot
Detailed plot configuration? : y
Enter a layout name or [?] :
Enter an output device name or [?] : Canon iR2525
Enter paper size or [?] :
Enter paper units : m
Enter drawing orientation :
Plot upside down? :
Enter plot area : v
Enter view name : 3 (the view name)
Enter plot scale (Plotted Millimeters=Drawing Units) or :
Enter plot offset (x,y) or
: c
Plot with plot styles? :
Enter plot style table name or [?] (enter . for none) :
Plot with lineweights? :
Enter shade plot setting :
Write the plot to a file :
Save changes to page setup ?
Proceed with plot :

BIGAL 发表于 2022-7-5 18:44:01

Have a look at this I think you imply all is in model space. this is plot all in model space could be changed to views, plotting a range is achieveable by checking sheet id 1,2 ,3 etc Check my post
 
http://www.cadtutor.net/forum/showthread.php?67143-One-Click-Printing

CafeJr 发表于 2022-7-5 18:54:40

 
 
Thanks Bigal!...
 
Its help me alot!... Is exactly that I was looking for!...

CafeJr 发表于 2022-7-5 18:56:05

Bigal, do you know if is possible to get more than one item to select to print? At the first code!...

BIGAL 发表于 2022-7-5 19:07:57

If you look at my post in link above its a plot all. To only plot a few would require checking the sheet number an extra coding step. Or do by pick it would be easy to change the code to 1 at a time.
 
Try

(setq ss2 (ssget "x" '((0 . "INSERT")replace with(setq ss2 (ssget "M" '((0 . "INSERT")

CafeJr 发表于 2022-7-5 19:13:34

 
 
Thanks Bigal!... It helps!..
 
 
Someone knows how to do it to the Code at post #2 http://www.cadtutor.net/forum/showthread.php?67143-One-Click-Printing&p=459450&viewfull=1#post459450

BIGAL 发表于 2022-7-5 19:29:25

There are many ways to pick which ones as I said before I would use a range of sheets to be plotted eg 7-10 and it would check each one picked in the "all" but only plot those within the range. See this example for layouts go down it has multiple layout routines.
 
http://www.cadtutor.net/forum/showthread.php?84430-Move-layout-Rename-layouts-Goto-layout

CafeJr 发表于 2022-7-5 19:32:44

 
 
Bigal!... Thanks a lot!!!...
页: [1]
查看完整版本: Plot Views, sheets at the same