.NET

Reply
Valued Mentor
Posts: 359
Registered: ‎08-13-2007
Message 1 of 2 (968 Views)
Accepted Solution

AutoCAD 2014 interop application ID

968 Views, 1 Replies
04-02-2013 04:10 AM

 Hi,

What is the string to use with Marshal.GetActiveObject to get the active AutoCAD 2014 application?

This works with 2013: AutoCAD.Application.19

For 2014, I tried: AutoCAD.Application.20  ... but this appears to be incorrect.

AutoCAD.Application works, but that would get access to almost any running AutoCAD version, I specifically need to access version 2014.

Thx.

Kevin.

 

Valued Mentor
Posts: 359
Registered: ‎08-13-2007
Message 2 of 2 (959 Views)

Re: AutoCAD 2014 interop application ID

04-02-2013 05:07 AM in reply to: kevin.barnett

oops... I found it ... but maybe someone will still need this..

the ACADVER system variable displays the version, 2014 is 19.1

answer:  "AutoCAD.Application.19.1"

 

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community