Generating PDF Files from DWG Drawings

Generating PDF Files from DWG Drawings

bit_Cad2018
Advocate Advocate
897 Views
10 Replies
Message 1 of 11

Generating PDF Files from DWG Drawings

bit_Cad2018
Advocate
Advocate

Dear Expert,

 

I have multiple files within a single DWG file, and I would like to generate a PDF file for each of them, including their respective drawing numbers. It is worth noting that all the DWG files are of custom sizes, not standard sizes. Can you please help me with this task?

 

I have attached the DWG file & manually make a pdf file for your reference.

 

Thank you very much for your time and support.

0 Likes
898 Views
10 Replies
Replies (10)
Message 2 of 11

paullimapa
Mentor
Mentor

Any reason why you can’t use the Plot command and choose the Dwg To PDF.pc3 device to generate each of the pdfs?


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

Sea-Haven
Mentor
Mentor

You still have to nominate a Paper size. So yes could do a lisp plot all layouts using "FIT" to sheet size xxx. If the layouts are set up correct and are in fact true sheet sizes then again can read say title block and plot to pdf with correct size.

 

Any reason why not using layouts, much easier. 

 

Do you have a reason the plots are 1856 long ? Are you using a roll plotter ? Why not 2 per sheet an A1 role is 594 high, a A0 is even wider.

 

There is another post floating around about using non standard sizes but you have to add custom sizes for it to work.

0 Likes
Message 4 of 11

smallƑish
Advocate
Advocate

You have to make a page setup for each page. 

0 Likes
Message 5 of 11

bit_Cad2018
Advocate
Advocate

@paullimapa 

Thanks For the reply.

 

No, there is no specific reason why the Plot command cannot be used. However, in this case, may have a large number of DWG files that need to be converted to PDF, which could become a time-consuming process if done manually.

0 Likes
Message 6 of 11

bit_Cad2018
Advocate
Advocate

@Sea-Haven 

 

Thank for the reply.

 

I know that if I make layout sheets, then using the publish command, I can have all the PDFs, but I have so many DWGs. Do you have any ideas for creating layouts with the respective DWG numbers for all DWGs.

If it is, it will be very useful for me.

 

Do you have a reason the plots are 1856 long ?

 

This is a cross-sectional drawing, and the client requires data up to 500 meters from the centerline.


Are you using a roll plotter?

Yes

 

Why not 2 per sheet an A1 role is 594 high, a A0 is even wider.

 

These crossing DWGs show different positions of pipelines, and when I plot two per sheet, it creates confusion for the client."

 

Sorry for the late reply @paullimapa @Sea-Haven  @smallƑish 

0 Likes
Message 7 of 11

bit_Cad2018
Advocate
Advocate

@smallƑish 

 

Thank for the reply .

 

All drawings are of the same size and can setup the page only once.

0 Likes
Message 8 of 11

smallƑish
Advocate
Advocate

You can simply copy the layouts with reference to the page numbers and modify the viewport accordingly.
you can download sample drawings from the link

smallish_0-1681721795519.png

 

0 Likes
Message 9 of 11

bit_Cad2018
Advocate
Advocate

I checked this post before posting, but it does not include any Lisp code.

0 Likes
Message 10 of 11

smallƑish
Advocate
Advocate

only sample drawings are there

0 Likes
Message 11 of 11

Sea-Haven
Mentor
Mentor

Providing you make a custom sheet size modify the "plot to pdf" etc, then can be done, the software that is making the long sections can it do multiple layouts ? I have used for years Civil software that does that, easier to work with layouts as in correct order scale and so on. 

 

Ok 1st step would be add an attribute sheet number/description to 02-ASG-CS-FMT, then you can get the blocks and sheet number and sort them. Looking further add all the attributes for the project, have various lisps to do stuff with Title block attributes.

 

Attached is a sample not answer of plot all title blocks in model space, you welcome to modify it or use as a starting point, just leave my name in it, also have a look at "plotting by Maratovich".

 

 

 

 

0 Likes