Problem Implementing ObjectARX 2014

Problem Implementing ObjectARX 2014

DanHill
Explorer Explorer
3,325 Views
6 Replies
Message 1 of 7

Problem Implementing ObjectARX 2014

DanHill
Explorer
Explorer

I’ve been coding new commands for AutoCAD 2012 via VB.Net 2010 Express. I have recently upgraded
to AutoCAD 2014.

 

My objective is to compile previously coded VB.net 2010 Express (for AutoCAD 2012) to AutoCAD 2014.

 

Steps I’ve Taken (Visual Basic.Net 2010 Express already present in environment):

 

  1. Loaded/Ran ObjectArx 2014 – Would not implement without VC++ Express or VS 2010 (There is no option for VB.Net Express)
  2. Downloaded VC++ Express
  3. Ran ObjectARXWizard 2014 and AutoCADNetWizard 2014
  4. VC++ Now Shows AutoDesk Template
  5. VB.Net still does not compile for AutoCAD 2014, nor shows templates
  6. VB.Net still shows 2012 components

Unfortunately, I have been unable to solve this issue. Does anyone have an idea?

Thanks in advance for anything you can do.

 

0 Likes
3,326 Views
6 Replies
Replies (6)
Message 2 of 7

owenwengerd
Advisor
Advisor

Download links for the AutoCAD .NET Wizards (scroll down):

http://www.autodesk.com/developautocad

--
Owen Wengerd
ManuSoft
Message 3 of 7

DanHill
Explorer
Explorer

Thank you for your quick response, Owen.

I followed your hyperlink; I have already run both ObjectArx 2014 Wizards (for AutoCAD 2014 for Visual Studio 2012; VS 2012 is not on my machine) and AutoCAD 2014 DotNet Wizards (for AutoCAD 2014 for Visual Studio 2012).

I don't see a link for AutoCAD 2014 for Visual Studio 2010 (VB.net) for either wizard, which is what I'm currently running.

What am I doing wrong?

0 Likes
Message 4 of 7

Balaji_Ram
Alumni
Alumni

Hello,

 

This could be for the reason that you had installed the wizard while being logged in as a different user.

 

You can try copying the Visual studio project templates manually from :

 

C:\Users\<user name>\My Documents\Visual
Studio 2012\Templates\ProjectTemplates\Visual Basic

 

to

 

C:\Users\<user name>\Documents\Visual Studio 2010\Templates\ProjectTemplates\Visual Basic



Balaji
Developer Technical Services
Autodesk Developer Network

Message 5 of 7

DanHill
Explorer
Explorer

Balaji,

Thank you for responding. I don't have VS 2012, just VS 2010 Express, which had no files in the path you recommended. I did, however, get it working similarly to how you suggested. I found the files I needed (acmgd.dll and acdbmgd.dll) under AutoCAD 2014, so I manually loaded them into a new VB project. Then I copied/pasted my old VB project into my new one, and after that I just needed to add AutoCAD.Interop.dll and Autocad.Interop.Common.dll and it worked.

Thank you for taking the time to respond. You guys are great!

Dan

 

0 Likes
Message 6 of 7

Balaji_Ram
Alumni
Alumni

Thanks Dan.

 

I am glad you figured it out on your own.

 

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 7 of 7

DanHill
Explorer
Explorer

Even a blind squirrel finds a nut every now and then 🙂

0 Likes