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

Problem Implementing ObjectARX 2014

6 REPLIES 6
Reply
Message 1 of 7
DanHill
2033 Views, 6 Replies

Problem Implementing ObjectARX 2014

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.

 

Tags (1)
6 REPLIES 6
Message 2 of 7
owenwengerd
in reply to: DanHill

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

http://www.autodesk.com/developautocad

--
Owen Wengerd
ManuSoft
Message 3 of 7
DanHill
in reply to: DanHill

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?

Message 4 of 7
Balaji_Ram
in reply to: DanHill

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
in reply to: Balaji_Ram

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

 

Message 6 of 7
Balaji_Ram
in reply to: DanHill

Thanks Dan.

 

I am glad you figured it out on your own.

 

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Message 7 of 7
DanHill
in reply to: Balaji_Ram

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

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