Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

VBA Application for AutoCAD

VBA Application for AutoCAD

VBA Application for AutoCAD

There is a library I can reference for AutoCAD in the VBA list of references. Currently I'm using AutoCAD 2019. Does anyone have any idea if this library will exist long term? I'd hate to build something only to find out in future updates it won't be available.

Does anyone else use this?
Pros? Cons?

Thanks in advance!

RE: VBA Application for AutoCAD

It's unlikely to disappear.

It's also unlikely to be maintained or updated for compatibility with future versions of AutoCAD, if the object model changes.

RE: VBA Application for AutoCAD

Will we all be here tomorrow? There is no one who can answer "Yes" with certainty. We live with many uncertainties.

So the question is, can you make yourself more productive by investing your time and efforts to create a tool? Of course, only you can determine that answer for your particular set of circumstances.

I can testify that on several occasions I have evaluated the essence of your question for an application I wanted to manipulate programmatically, to invested the time to 1) understand that application's object model and 2) develop my own tools to employ and manipulate them. And it paid off many times over.

Because of my circumstances, Excel was my primary platform for analysis and reporting. So I almost exclusively used the VBA Editor in Excel and added the libraries I required as needed. I made use of the Watch Window to discover the properties I needed from any object.

Using Watch Window: https://www.tek-tips.com/faqs.cfm?fid=4594

You might check out www.Tek-Tips.com, this site's sister site for computer-related questions.
The VBA Site: https://www.tek-tips.com/threadminder.cfm?pid=707


glassesJust traded in my OLD subtlety...
for a NUance!tongue

RE: VBA Application for AutoCAD

Is the VBA library provided by AutoDesk? If so, they will likely update it with every new version of AutoCAD. If/when you upgrade to a new version of AutoCAD, you will want to check your code for compatibility. The vendors usually provide a list of commands that are being deprecated or obsoleted. If they are nice, they will also provide a recommended replacement for those functions.

If the library is created by a third party, all bets are off.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close