.NET

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

Problem Implementing ObjectARX 2014

1300 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: 606
Registered: ‎08-06-2002
Message 2 of 7 (1,275 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,248 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: 666
Registered: ‎03-21-2011
Message 4 of 7 (1,207 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,197 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: 666
Registered: ‎03-21-2011
Message 6 of 7 (1,174 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,169 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:

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community