.NET

Reply
Active Contributor
pva75
Posts: 48
Registered: ‎07-22-2012
Message 1 of 4 (2,541 Views)

Plug-in for Autocad 2013

2541 Views, 3 Replies
10-20-2012 10:50 PM

What is requirements for Autocad 2013?

I made plugin for AutoCad 2012 and it works file but it doesn't work in 2013.

I tried to load my dll by netload command.

No messages, no errors - just no reaction.

I use .NET 4.0.

What should I do to create plug-in for 2013? Is 2012 compatible with 2013 or I must create separate dll?

 

Thanks,

Pavel.

Mentor
khoa.ho
Posts: 224
Registered: ‎09-15-2011
Message 2 of 4 (2,537 Views)

Re: Plug-in for Autocad 2013

10-20-2012 11:27 PM in reply to: pva75

Since AutoCAD 2012 and 2013 have different internal versions, 18.2 vs 19.0. AutoCAD 2013 also uses different file format (DWG 2013), so for sure unmanaged DLL references in acdbmgd.dll of 2013 are different with 2012. Remember acdbmgd.dll is just a wrapper that calls a bunch of C++ native DLLs.

Your plug-in for AutoCAD 2012 references acdbmgd.dll (and other dll files) version 18.2. Therefore, this plug-in does not work to reference unmanaged assemblies version 19.0 of AutoCAD 2013. For that reason, AutoCAD 2012 plug-in is not compatible with 2013.

You can make the new project with the same code with 2012 (can be done with Add Link .cs files in VS 2010, .NET 4.0) that references 2013 assemblies, then this new plug-in will work with AutoCAD 2013.

-Khoa

*Expert Elite*
Alfred.NESWADBA
Posts: 9,417
Registered: ‎06-29-2007
Message 3 of 4 (2,529 Views)

Re: Plug-in for Autocad 2013

10-21-2012 12:09 AM in reply to: khoa.ho

Hi,

 

>> You can make the new project with the same code with 2012 (can be done with

>> Add Link .cs files in VS 2010, .NET 4.0) that references 2013 assemblies,

>> then this new plug-in will work with AutoCAD 2013.

...and add the file AcCoreMgd.dll additionally to the references.

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Board Manager
StephenPreston
Posts: 419
Registered: ‎05-22-2006
Message 4 of 4 (2,439 Views)

Re: Plug-in for Autocad 2013

11-05-2012 02:02 PM in reply to: Alfred.NESWADBA

This link may help - http://adndevblog.typepad.com/autocad/2012/04/migrating-objectarx-and-net-plug-ins-to-autocad-2013.h....

 

 

Cheers,

Stephen Preston
Autodesk Developer Network
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!