.NET

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

Plug-in for Autocad 2013

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

Distinguished Contributor
khoa.ho
Posts: 136
Registered: ‎09-15-2011
Message 2 of 4 (2,033 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,592
Registered: ‎06-29-2007
Message 3 of 4 (2,025 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
-------------------------------------------------------------------------
ADN Support Specialist
Posts: 349
Registered: ‎05-22-2006
Message 4 of 4 (1,935 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 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