.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Plug-in for Autocad 2013

3 REPLIES 3
Reply
Message 1 of 4
pva75
4192 Views, 3 Replies

Plug-in for Autocad 2013

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.

3 REPLIES 3
Message 2 of 4
khoa.ho
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

Message 3 of 4
Alfred.NESWADBA
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 ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 4 of 4

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost