Convert multiple *.DWG files to one *.PDF File Using Visual Basic

Convert multiple *.DWG files to one *.PDF File Using Visual Basic

Anonymous
Not applicable
1,672 Views
4 Replies
Message 1 of 5

Convert multiple *.DWG files to one *.PDF File Using Visual Basic

Anonymous
Not applicable

I'm new to the AutoCad world but have been asked to take Multiple *.DWG files from a directory and covert them into one *.PDF file using Visual Basic.  

(I was told the *.PDF had to be from ADOBE Pro to keep some of the features they need).  Has anyone ever done this and is there any example code that could help me.

 

Mark

0 Likes
1,673 Views
4 Replies
Replies (4)
Message 2 of 5

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> Multiple *.DWG files from a directory and covert them into one *.PDF file

Command _PUBLISH can do that, without any line of code 😉

 

>> I was told the *.PDF had to be from ADOBE Pro to keep some of the features they need

Would not know which feature that should be, I would use an AutoCAD internal PDF driver (by default smaller file-size by higher quality).

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 3 of 5

Anonymous
Not applicable

What is _PUBLISH.  Is it a part of Autocad or Visual basic?

0 Likes
Message 4 of 5

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> What is _PUBLISH

>>>click<<<

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 5 of 5

Anonymous
Not applicable

Okay thanks, these are Autocad users that asked me about this so I will see if they are aware it can be done through _PUBLISH, or see if there is another reason why they wanted me to do this though Visual Basic.

0 Likes