@pallen9JA6T wrote:
I'm looking for a lisp to plot multiple fabrication drawings that are setup in modelspace. The company I work for stores shop drawings and fabrication drawings all within the same file. I totally understand that layouts, and publishing are the best solution. However, some jobs have more than 200 fabrication drawings, and 200 layout tabs will really slow down a cad file. We use the layout tabs for our shop drawings. I'm looking to get a lisp that will find my titleblock "block" inside of modelspace and print the extents of each block. See example below. This is a small job and you can see how many layouts I would have. Thanks in advance for your help.
Hmmm, using layout tabs has never posed a problem here. Their benefits totaly outwheight any loss in speed (which i never realy noticed anyway), imho. (like easily exporting all layouts to a single pdf)
But I understand your predicament, as its undoable to create all those layouts, afterwards. (at least, by hand. It could be automated though)
Perhaps it would be better to speak of "sheets" you have in modelspace, since at first I was a bit confused: Modelspace + layouts ?!?! they don't "mix". It took a look at your picture to understand what you actually mean.
Anyway, it is perfectly possible. (but i do not have such a lisp readily available)
-is the titleblock's name "block"?
-is it always the same name, or do you have other blocks too?
-do you wish to plot it straight to a device, or PDF's? (Note: each "sheet" would be a pdf in this case!)
-if PDF's, where should they be saved? (note: 100 dwgs, with 200 sheets average = 20000 plots!!!)
-could you share a dwg, like the one you used for the png? (it only needs the sheet blocks, no 'drawn content')
One way to do it:
create a lisp to ..
- Select all titleblocks
- Retrieve each blocks 'boundingbox'
- Use the boundingbox points to plot by "window"
then:
Use a batch utility (script) -or- have another lisp to process all dwg's, with the lisp for plotting sheets.
(the lisp for processing all dwg's & for the plotting of sheets can be one and the same routine)