LISP PRINTER

LISP PRINTER

tongminh97
Contributor Contributor
721 Views
9 Replies
Message 1 of 10

LISP PRINTER

tongminh97
Contributor
Contributor

tongminh97_0-1741942620091.png

Hi everyone.I want to print multiple drawings with different scales, and the A1 title block is defined by a specific layer and lines, as shown in the image. Can anyone help me? Thank you!

0 Likes
722 Views
9 Replies
Replies (9)
Message 2 of 10

Sea-Haven
Mentor
Mentor

Google "Revers autocad plot" has a good plot routine. Re Maratovich.

SeaHaven_0-1741943345829.png

Yes it is possible to look at your title blocks and get which one and plot correct.

 

I would though suggest you look at Layouts makes life so much easier as title blocks are at 1:1 scale and use a Viewport for scaling the part of the dwg. Yes have something but looks at layouts.

 

0 Likes
Message 3 of 10

tongminh97
Contributor
Contributor

Thank you

0 Likes
Message 4 of 10

archana96
Enthusiast
Enthusiast

I ALSO NEED

0 Likes
Message 5 of 10

paullimapa
Mentor
Mentor

I see multiple title blocks on your screenshot I assume they are all A1 size with the same block name and all on the same layer but inserted at different scales. Now I see there are three each with a diagonal line crossing them.
Questions:

1) Are these three the only ones you want plotted?  
2) Are those lines on a non plot layer so they won’t appear on the plot?

3) What if instead of looking for those lines you were given the option to select the title blocks you want plotted?

4) if the end product are A1 size PDFs, should the file names be extracted from attributes within the title block like drawing title, sheet number and scale assuming they are all unique so there would be no duplicate file names overwriting each other?

5) Can you share a sample dwg with these different scaled inserted or xref  title blocks?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 6 of 10

tongminh97
Contributor
Contributor

Thank you for your response. Here are my answers to your five questions:

1.I only want to print those three title blocks or the ones I select (not all title blocks with diagonal lines)

2.I set the layer to non-plot because I don't want to print them; they are only used to identify the areas that need to be printed

3.That is also a solution since my title blocks are in xref format. Can you assist me with that approach?

4.I want all the drawings to be combined into a single PDF file, and I will name them myself.

5.Please find the attached file for your review. 

I appreciate your time and look forward to your feedback.

0 Likes
Message 7 of 10

Sea-Haven
Mentor
Mentor

To make life so much easier it would be much better for task to use layouts. You have a viewport at the desired scale in the layout Title block is true size. I have just made this as an example need to reset the title blocks. Do that each time you use Layout copy.

 

Ok part 2 I have plot layouts by range and make back into one pdf. 

 

Have a look at the dwg 1st, if you want a border in model can make a rectang at scale of the viewport that is another program.

 

 

 

0 Likes
Message 8 of 10

tongminh97
Contributor
Contributor

My company doesn't use Layout in drawings because my boss believes it makes the files heavier. Additionally, every time we create a new drawing, we have to set up the Layout again. While it's convenient for printing, it's too time-consuming when we have to create layouts for hundreds of drawings.

0 Likes
Message 9 of 10

paullimapa
Mentor
Mentor

The attached CSPlotA1.lsp is coded to only allow you to select the name of the A1 title block in your sample dwg to create pdfs # sequentially prefixed with dwgname. There's no option to combine the individual pdfs into a single multi-page file. 

 @Sea-Haven knows of a method of installing the free Ghostscript app to do this so perhaps he can provide you with more detail on how this is done as discussed here:

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-plotting-lisp-ghostscript-...


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 10 of 10

Sea-Haven
Mentor
Mentor

I understand making layouts but there are ways of doing it very fast, I have made like 120 layouts in one go. There is lots of make layouts software out there.

 

I use a method of making rectangs at correct scale that matches the Mview of your A1 title block in a layout, you can steal a layout from any drawing uisng Layout T the t is for template it will ask for a dwg and layout name.

 

I have at least 5 more update layouts lisps that help day to day. This is the front end.

SeaHaven_0-1742437628461.png

Have a look at this movie once rectangs are made then just select and matching layouts are made.

Fill in details in one title block and then its copied to all other title blocks, renumber, rename layouts and so on.

0 Likes