.NET

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

Plug-in for Autocad 2013

2253 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: 157
Registered: ‎09-15-2011
Message 2 of 4 (2,249 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: 8,887
Registered: ‎06-29-2007
Message 3 of 4 (2,241 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: 368
Registered: ‎05-22-2006
Message 4 of 4 (2,151 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

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