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

autocad 2013 CommandMethod assembly reference

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
kbarnettza
7132 Views, 4 Replies

autocad 2013 CommandMethod assembly reference

Microsoft Visual C# 2010 Express

Trying to create first dll in 2013, 

referenced acdbmgd and acmgd (as usual, as in previous versions)

 

then included:

 

using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Geometry;

 

but ...

Error in IDE (Visual C#) when entering: [CommandMethod("TEST")]

Error: CommandMethod could not be found .. are you missing a using directive or an assembly reference

 

???

What did I miss?

Thx.

Kevin.

 

4 REPLIES 4
Message 2 of 5

Hi,

 

for AutoCAD 2013 you have to reference a third dll by default: AcCoreMgd.dll (to be found in the installation directory of AutoCAD).

 

HTH, - alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 3 of 5

Thank You ... 

Message 4 of 5
kdub_nz
in reply to: kbarnettza

 

 

For Reference :

http://through-the-interface.typepad.com/through_the_interface/2012/03/migrating-net-applications-to...

//

Everything will work just as you expect it to, unless your expectations are incorrect.

class keyThumper<T> : Lazy<T>;      another  Swamper

Message 5 of 5
ncolangelo
in reply to: kbarnettza

Excellent - exactly what I needed!

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