.NET

Reply
Member
DanHill
Posts: 4
Registered: ‎04-03-2013
Message 1 of 7 (1,445 Views)

Problem Implementing ObjectARX 2014

1445 Views, 6 Replies
05-15-2013 08:57 AM

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.

 

Distinguished Mentor
owenwengerd
Posts: 671
Registered: ‎08-06-2002
Message 2 of 7 (1,420 Views)

Re: Problem Implementing ObjectARX 2014

05-15-2013 05:19 PM in reply to: DanHill

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

http://www.autodesk.com/developautocad

--
Owen Wengerd
ManuSoft
Member
DanHill
Posts: 4
Registered: ‎04-03-2013
Message 3 of 7 (1,393 Views)

Re: Problem Implementing ObjectARX 2014

05-16-2013 05:20 AM 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?

ADN Support Specialist
Balaji_Ram
Posts: 733
Registered: ‎03-21-2011
Message 4 of 7 (1,352 Views)

Re: Problem Implementing ObjectARX 2014

05-21-2013 06:48 AM 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

Member
DanHill
Posts: 4
Registered: ‎04-03-2013
Message 5 of 7 (1,342 Views)

Re: Problem Implementing ObjectARX 2014

05-21-2013 07:48 AM 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

 

ADN Support Specialist
Balaji_Ram
Posts: 733
Registered: ‎03-21-2011
Message 6 of 7 (1,319 Views)

Re: Problem Implementing ObjectARX 2014

05-23-2013 04:15 AM in reply to: DanHill

Thanks Dan.

 

I am glad you figured it out on your own.

 

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Member
DanHill
Posts: 4
Registered: ‎04-03-2013
Message 7 of 7 (1,314 Views)

Re: Problem Implementing ObjectARX 2014

05-23-2013 05:18 AM in reply to: Balaji_Ram

Even a blind squirrel finds a nut every now and then :smileyhappy:

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!