.NET

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

AutoCAD 2014 interop application ID

1173 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
kevin.barnett
Posts: 381
Registered: ‎08-13-2007
Message 2 of 2 (1,164 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 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 to get help installing your software.

Ask the Community