Autocad VBA Exporting PDF as macroenabled PDF

Autocad VBA Exporting PDF as macroenabled PDF

suresh_k
Explorer Explorer
1,262 Views
7 Replies
Message 1 of 8

Autocad VBA Exporting PDF as macroenabled PDF

suresh_k
Explorer
Explorer

Hi, 

Can anyone help me , while Exporting PDF from autocad using VBA , can the PDF exported with the macros enabled buttons in it. Please let me know whether Autocad generate Macro enabled PDF?

0 Likes
Accepted solutions (1)
1,263 Views
7 Replies
Replies (7)
Message 2 of 8

maratovich
Advisor
Advisor

Why is this?
Without knowing the ultimate goal - it is difficult to give a solution.

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 3 of 8

suresh_k
Explorer
Explorer

We are developing a tool for the BOM genertaion . The BOM components gets differed based on the configuration selected. We have multiple layers in autocad. And We are turning on and off the layers in autocad using Autocad VBA and we need the option of converting the drawings in to PDF with the user fillable forms. So user can feed the input in PDF and drawings gets modified. So I am wondering whether we would be able to generate PDF with user fillable forms from autocad. Is that possible? Please let me know. It will be really helpful.

0 Likes
Message 4 of 8

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> Autocad generate Macro enabled PDF?

No, AutoCAD drivers have no options for Macros (or fields) in PDFs.

 

- 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 8

maratovich
Advisor
Advisor

You need to use print or publish. To do the processing layers.

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 6 of 8

suresh_k
Explorer
Explorer

I have attached a sample image of the PDF output required from autocad to process the layers. Please let me know the user fillable fields as in the image can also be plotted or published from autocad.

0 Likes
Message 7 of 8

maratovich
Advisor
Advisor
Accepted solution

That's it - no.
You need to print it in PDF, and then modify the PDF file - add control.
But this is processing of the PDF format, it is a narrow and long work.

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 8 of 8

suresh_k
Explorer
Explorer

Thankyou . will think of Adding script in PDF.

0 Likes