Author Topic: Problem with migration from 2013 to 2014 (ObjectARX)  (Read 2897 times)

0 Members and 1 Guest are viewing this topic.

latour_g

  • Newt
  • Posts: 184
Problem with migration from 2013 to 2014 (ObjectARX)
« on: October 08, 2013, 04:26:41 PM »
Hi,
I get this error message when I try to run one of my tool (made for Civil 3D 2013) in Civil 3D 2014 :
System.MissingMethodException: Method missing : 'Void Autodesk.AECC.Interop.UiLand.IAeccApplication.Init(Autodesk.AutoCAD.Interop.AcadApplication)'.

Here are the reference I have in my project, all from ObjectARX 2013 :
Autodesk.AEC.Interop.Base
Autodesk.AEC.Interop.UIBase
Autodesk.AEC.Interop.Land
Autodesk.AEC.Interop.UILand
Autodesk.AEC.Interop
Autodesk.AEC.Interop.Common

I am using Visual Studio 2010, .Net Framework 4.   I try to change ObjectARX 2013 for ObjectARX 2014 but I just found Autodesk.AEC.Interop, not the other.

It's my first migration and I'm not use with ObjectARX so I don't know what I need to do. 
« Last Edit: October 09, 2013, 08:53:35 AM by latour_g »

VVeli

  • Newt
  • Posts: 27
Re: Problem with migration from 2013 to 2014 (ObjectARX)
« Reply #1 on: October 11, 2013, 06:00:29 AM »
Hi,
you can try references which have been published with Civil 3D 2014.
I put an attachment screenshot from my VS2010 references. These should be work.

Buy the way I have not seen the libraries what you reported:
- Autodesk.AEC.Interop
- Autodesk.AEC.Interop.Common

-Veli
« Last Edit: October 11, 2013, 06:25:28 AM by VVeli »

VVeli

  • Newt
  • Posts: 27
Re: Problem with migration from 2013 to 2014 (ObjectARX)
« Reply #2 on: October 11, 2013, 06:18:33 AM »
There was also changed namespaces...
Our earlier version used AeccApplicationClass but in 2014 version it has been changed
to use AeccApplication.

latour_g

  • Newt
  • Posts: 184
Re: Problem with migration from 2013 to 2014 (ObjectARX)
« Reply #3 on: October 11, 2013, 09:48:07 AM »
Thank you ! I took the references from Civil 3D 2014 as you said and it work fine now !
(My mistake, it was Autodesk.Autocad.Interop and Autodesk.Autocad.Interop.Common, not Autodesk.AEC.Interop and Autodesk.AEC.Interop.Common)