VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

vba to insert pdf's

1 REPLY 1
Reply
Message 1 of 2
Anonymous
927 Views, 1 Reply

vba to insert pdf's

Was wondering if anyone could help with this idea.

 

Would like to have a vba to insert pdf’s;

 

Here is what I would love to know how to do. “oh, I only have a little vba knowledge”

 

1)      Would to have an excel spread sheet that has a list of block or pdfs ” block/pdf name”, “path”, and “scale”,

2)      Have an interface that would prompt a user for a folder name say named  “details”

3)      Have an interface that would list block/pdf’s  that it pulls from the excel spread sheet, than copies the selected dpf/block to details folder

4)      Than insert pdf/block from that folder at a select point.

 

Have no idea if this is due able, to me sounds like a huge task, but if someone can get me started

I’m sure if could come up with something that works better that what I doing know.

 

Any suggestions?

1 REPLY 1
Message 2 of 2
norman.yuan
in reply to: Anonymous

Inserting block is fairly simple. You can search this forum or the Internet, or AutoCAD VBA help for sample code.

 

However, there is no support in AutoCAD VBA to create PDF underlay in drawing (inserting PDF into drawing). If you have to do it programmatically, you need to look into other programming language (LISP or ObjectARX/.NET API).

Norman Yuan

Drive CAD With Code

EESignature

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost