how to plot several drawing in one layout

how to plot several drawing in one layout

razie.electric
Enthusiast Enthusiast
8,710 Views
26 Replies
Message 1 of 27

how to plot several drawing in one layout

razie.electric
Enthusiast
Enthusiast

Dears

 

I am working about 10 years on autocad, I attached my file which contain more than 100 drawings ( contain 2 block title in whole drawing). when i want to plot it it take me about 1 hour . is there any way to plot whole drawings automatically?

 

I will be kindly appreciated If one of you answer me.

 

Best Regards

0 Likes
8,711 Views
26 Replies
Replies (26)
Message 2 of 27

Anonymous
Not applicable

Hi @razie.electric

 

As my experience there is no commend to do all in one time when the drawing is in model TAB. But may be there is a lisp code can help in this topic, but it is not so easy

 

My suggestion is :

 

1. Move all the drawings from model TAB to layout Tab

 

2. Publish as a PDF via batch plot

 

If the above one is helps you, Please select Accept as Solution

0 Likes
Message 3 of 27

ennujozlagam
Mentor
Mentor

@razie.electric hello, you can refer to this link HERE. thanks





Remember : without the difficult times in your LIFE, you wouldn't be who you are today. Be grateful for the good and the bad. ANGER doesn't solve anything. It builds nothing, but it can destroy everything...
Please mark this response as "Accept as Solution" if it answers your question. Kudos gladly accepted.
0 Likes
Message 4 of 27

razie.electric
Enthusiast
Enthusiast

I prefer to have lip code

it really bother me to plot one by one

0 Likes
Message 5 of 27

razie.electric
Enthusiast
Enthusiast

its not my solution unfortunately 

0 Likes
Message 6 of 27

imadHabash
Mentor
Mentor

Hi and Welcome to AutoCAD Forum,

 

>> is there any way to plot whole drawings automatically? <<

the only way to get your drawings published automatically in autocad is when you have one title sheet (drawing space) on model or layout space.which with already prepared page setup and publish command you will be able to achieve it. any other scenario than that you won't reach to any solution.

 

Regards,

Imad Habash

EESignature

0 Likes
Message 7 of 27

razie.electric
Enthusiast
Enthusiast

If I have One title sheet in whole drawing how can plot the drawing automatically?

0 Likes
Message 8 of 27

imadHabash
Mentor
Mentor

>> If I have One title sheet in whole drawing how can plot the drawing automatically? <<

the idea is to set your needed drawing elements in the same cad coordinate ( same place ) so that when you prepare and set the page setup and ready to use while Publish command , now you can add all the cad files for publishing and with the same settings .

Imad Habash

EESignature

0 Likes
Message 9 of 27

razie.electric
Enthusiast
Enthusiast

dear sir,

 

please see my attached file in my first comment. 

I have alot of drawing in one sheet and i want it to plot automattically all drawings

0 Likes
Message 10 of 27

imadHabash
Mentor
Mentor

yes i understand you ... you have many drawings in the same sheet and you want to plot all of those drawings automatically and seperately . there is NO way than do it manually ( i mean one by one ) . 

Imad Habash

EESignature

0 Likes
Message 11 of 27

pendean
Community Legend
Community Legend
Automation and speeding up repetitive actions requires you to plan ahead, BEFORE you need to solve a problem.

So, do you want to spend the time to fix it? There is no quick solution for your method of drafting.
0 Likes
Message 12 of 27

cwr-pae
Mentor
Mentor

To do what you are  wanting, though it is better to separate in to multiple files and use paper space layouts.

 

If for each sheet you create a page setup you can add all the page set ups to one publish session and save as a *.dsd file. Once set up it is possible to start printing the set fairly quickly.

0 Likes
Message 13 of 27

john.vellek
Alumni
Alumni

Hi @razie.electric,

 

I see that you are visiting as a new member to the AutoCAD forum. Welcome to the Autodesk Community!

 

It is difficult to see what you are actually working with from your image.  I should note though it is not a great practice placing so much content into a single file. I suggest you consider rethinking your drawing setup a bit.

 

As others have mentioned in this thread, the current method of plotting drawings through layouts in paperspace would rapidly get a PUBLISH (Batch Plot) taken care of.

 

There are some add-ins in the Autodesk App Store that might help with your method.

 

If you would like to attach a drawing file, I am happy to see what it would take to get things setup for Layouts and Viewports for PUBLISH.

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.

 

 


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes
Message 14 of 27

Anonymous
Not applicable

Providing you have some form of control in your drawings regarding the title block then me and others have provided the following solutions all work with out using publish. Yes you could script them to do a lot of drawings. Including plot range of layouts.

 

me

plot all titles in model space

plot all titles in 1 layout space

Plot a range of layouts

Plot all layouts Note I have 88 layouts in 1  dwg just enter start and end number

Menu options A3 A1 PDF Colour B-W etc.

Pdf option individual or combined use dwg to pdf cutepdf etc combine is independant of PDF driver.

 

others

Mixture of title blocks in model space plot to various size sheets.

 

Here is a link include some extra stuff http://www.cadtutor.net/forum/showthread.php?84430-Move-layout-Rename-layouts-Goto-layout 

Leave a post at Cadtutor as  there are a lot more posts about this and need to find them all.

 

John,vellick where is Goto when you have 88 layouts its a pain to jump to the right one so GOTO 27 So I wrote one, GOTO has been in WORD etc since day dot.

 

0 Likes
Message 15 of 27

razie.electric
Enthusiast
Enthusiast

thank you for all of answers

 

but I should mention that all drawings are relative and its so difficult to manage the project with separated drawings in separated layouts. I am working in a big company and all of members use this way also I have seen Others in other company use this way... anyway

 

in other side i have seen a company used a software that could plot these drawings but howcome?

the software asks the block title of project then it separates drawings into separates files then you can plot all drawing by publish command

I dont know I f i can do this by lisp code or not?

 

0 Likes
Message 16 of 27

Anonymous
Not applicable

Hi @razie.electric

 

Lisp code to print the model data is possible when you have the template block name is different.

0 Likes
Message 17 of 27

razie.electric
Enthusiast
Enthusiast

what you mean?

you mean I should rename all blocks ? If I have a sheet with 100 drawings and one title block then I should rename all blocks? to have 100 different blocks?

0 Likes
Message 18 of 27

Anonymous
Not applicable

Did you have  a look at my post ? its only one of numerous answers about this. 

 

Providing you have some consistency across your dwg's you can script multiple plots Title block name known are they Layouts or Model space ?

 

If model space then there are lisps to make into layouts much better way to be consistent.

0 Likes
Message 19 of 27

razie.electric
Enthusiast
Enthusiast

Dear Sir,

 

I read your message but I didn't underestand what you mean

 

I attach my cad file I hop it give you more hints

 

you should attached both files

 

thank u in advance

0 Likes
Message 20 of 27

Anonymous
Not applicable

3 ways to do as many as exists automatically, I have a plot all in Model space lisp which I will get to next

 

so you would edit the code to look for "KADR" it will plot all these based on known values.

2nd add a dummy title block which is just a rectang a few mm outside KADR so sets your plot sheet size. 

3rd the best way is to make a layout using KADR and a Mview, there is various lisps out there to aid in creating these, the best method is start today using layouts you will never look back.

 

The code expects a known title block I may hav eto do a bit of a search to find the version that does the rescaling to reflect sheet size.

This is for layouts next is model space.

 

; plot multi title block in one layout
 (PROMPT ".....PRINTING DRAWING TO plotter....")
(setq oldsnap (getvar "osmode"))
(setvar "osmode" 0)
 
(setq ss2 (ssget "x" '((0 . "INSERT")(2 . "Da1drsht"))))
(setq n (sslength ss2))

(setq index 0)
(repeat n
    (setq en (ssname ss2 index))
    (setq el (entget en))
    (setq inspt (assoc 10 el)) ; insertion pt

   (setq xmin (- (cadr inspt) 6.0))
   (setq ymin (- (caddr inspt) 6.0))
   (setq xymin (strcat (rtos xmin 2 1) "," (rtos ymin 2 1)))

   (setq xmax (+ xmin 813.0)) ; hard coded for 813 wide 6mm offset
   (setq ymax (+ ymin 566.0)) ;hard code for 566 high
   (setq xymax (strcat (rtos xmax 2 1) "," (rtos ymax 2 1)))



  (COMMAND "-PLOT"  "Y"     "" "//PRODPRN01/Design-5100"
	       "A3"	"M"     "LANDSCAPE"   "N"
	       "W"	  xymin   xymax "1=2"  "C"
	       "y"	  "Designlaser.ctb"      "Y"   ""	"n"   "n"
	       "y"	"N" "N" "Y"
    )
   
  (setq index (+ index 1))

)

(setvar "osmode" oldsnap)
(princ)

 Change Da1drsht to Kadr as a start

; plot all title blocks in model space
; by Alan H
 (PROMPT ".....PRINTING DRAWING TO plotter....")
(setq oldsnap (getvar "osmode"))
(setvar "osmode" 0)
 ; block name is da1drsht
(setq ss2 (ssget "x" '((0 . "INSERT")(2 . "Da1drsht")(410 . "Model"))))
(setq n (sslength ss2))

(setq index 0)
(repeat n
    (setq en (ssname ss2 index))
    (setq el (entget en))
    (setq inspt (assoc 10 el)) ; insertion pt

   (setq xmin (- (cadr inspt) 6.0))
   (setq ymin (- (caddr inspt) 6.0))
   (setq xymin (strcat (rtos xmin 2 1) "," (rtos ymin 2 1)))

   (setq xmax (+ xmin 813.0)) ; hard coded for 813 wide 6mm offset
   (setq ymax (+ ymin 566.0)) ;hard code for 566 high
   (setq xymax (strcat (rtos xmax 2 1) "," (rtos ymax 2 1)))


  (COMMAND "-PLOT"  "Y"     "" "//PRODPRN01/Design-5100"
	       "A3"	"M"     "LANDSCAPE"   "N"
	       "W"	  xymin   xymax "1=2"  "C"
	       "y"	  "Designlaser.ctb"      "Y"   ""	"n"   "n"
	       "y"	
    )
   
  (setq index (+ index 1))

)

(setvar "osmode" oldsnap)
(princ)

I have looked at your dwg and could convert the model to layouts what is the sheet size ? Need to rescale the title block to true size I am guessing a A2 sheet ?