Autocad VBA

Autocad VBA

Manuel.MartinAP7G9
Explorer Explorer
560 Views
1 Reply
Message 1 of 2

Autocad VBA

Manuel.MartinAP7G9
Explorer
Explorer

Hello,

I am new to Autocad VBA. I was wondering if anyone knows where I can find VBA library for autocad so that I can find methods, functions etc and not to mention some examples. 

I am looking for selection of plines, 3dpolylines etc and exporting the coordinates of the vertices to excel or as a text file.

Thank you!

0 Likes
Accepted solutions (1)
561 Views
1 Reply
Reply (1)
Message 2 of 2

Ed__Jobe
Mentor
Mentor
Accepted solution

Hi. There are several tools available. The first is the Object Browser available in the VBA IDE when you hit F2, or from the View menu, and on the main toolbar. The icon looks like a box with some red and blue squares hovering above it. The second is the VBA help file. If you select an item in the Object Browser and then click on the yellow question mark, it will open the help file. I find it valuable to have a shortcut to the help file. Search your hd for 'acadauto.chm'. The third is the online version of the help file in the Developer Guide. It's called the ActiveX Reference Guide.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature