.NET

Reply
Valued Mentor
kevin.barnett
Posts: 386
Registered: ‎08-13-2007
Message 1 of 2 (1,292 Views)
Accepted Solution

AutoCAD 2014 interop application ID

1292 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.

 

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"

 

Valued Mentor
kevin.barnett
Posts: 386
Registered: ‎08-13-2007
Message 2 of 2 (1,283 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"

 

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.