Jump to content

Recommended Posts

Posted

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? [Yes/No] : y

Enter a layout name or [?] :

Enter an output device name or [?] : Canon iR2525

Enter paper size or [?] :

Enter paper units [inches/Millimeters] : m

Enter drawing orientation [Portrait/Landscape] :

Plot upside down? [Yes/No] :

Enter plot area [Display/Extents/Limits/View/Window] : v

Enter view name : 3 (the view name)

Enter plot scale (Plotted Millimeters=Drawing Units) or [Fit] :

Enter plot offset (x,y) or

: c

Plot with plot styles? [Yes/No] :

Enter plot style table name or [?] (enter . for none) :

Plot with lineweights? [Yes/No] :

Enter shade plot setting [As displayed/legacy Wireframe/legacy Hidden/Visual styles/Rendered] :

Write the plot to a file [Yes/No] :

Save changes to page setup [Yes/No]?

Proceed with plot [Yes/No] :

Posted

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

Posted

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")

Posted
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")

 

 

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

Posted
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

 

 

Bigal!... Thanks a lot!!!...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...