Trouble Installing ObjectARX and DotNetWizards

Trouble Installing ObjectARX and DotNetWizards

Anonymous
Not applicable
1,685 Views
2 Replies
Message 1 of 3

Trouble Installing ObjectARX and DotNetWizards

Anonymous
Not applicable

Hello, 
I've been struggling the whole day to install the Object ARX and the DotNet wizard for autoCAD 2019.

I've followed all the steps described on this post:

https://knowledge.autodesk.com/community/screencast/51b96e41-13ba-4c79-bc59-18ff11e0d556

 

Apparently the installation process happened sucessfully. But when i try to open visual studio 2017 to create a new Autocad 2019 C# Plugin the option for creating it isn't there...

The same process happened for the ObjectARX... the dlls are simply not installed. 

Does anyone has any tips to solve this? it is driving me nuts...

I'll attach a few pictures to better describe the problem

0 Likes
Accepted solutions (2)
1,686 Views
2 Replies
Replies (2)
Message 2 of 3

norman.yuan
Mentor
Mentor
Accepted solution

Now that you have already struggled a whole day and are wondering how much struggle ahead, I'd say, it is not worth spending 1 hour to get the so called "Wizard" installed, even you can make it through.

 

You really do not need it to get started with AutoCAD .NET API development with VisualStudio (still using VS2017? why not VS2019?).

 

You simply start a .NET Framework Class Library project, add 3 basic AutoCAD .NET assemblies (accoremgd/acdbmgd/acmgd.dll) coming from downloaded ObjectARX SDK; or you can get the assemblies references through NuGet package (saving you from download ObjecARX SDK).  Note, you could reference these 3 assemblies directly from AutoCAD installation folder, without having to download ObjectARX SDK, but there can be some issues occasionally. It is recommended to use these 3 references from ObjectARX SDK, or NuGet package, but these 3 referenced assemblies MUST not be deployed with your Plugin (make sure Copy Local is set to False).

 

The wizard only does a little bit more than set references to the 3 assemblies: also create an basically blank class with a few lines of boiler plate code., which you can easily export your own blank Plugin project as a project template (i.e. your own "Wizard").

 

Also, after you download ObjectARX SDK, and run the downloaded file, it DOES NOT install anything other than unzip the file into a specified folder. As .NET API developer, you would only be interested in the DLLs included in "..\inc\" folder you may want to reference in your projects, and sample code in "..\Samples\Dotnet\" folder.

Norman Yuan

Drive CAD With Code

EESignature

Message 3 of 3

_gile
Consultant
Consultant
Accepted solution

Hi,

In addition to what @norman.yuan said, you can lean how to create your own template(s).

http://gilecad.azurewebsites.net/Resources/Template_Csharp_ED_JOBE.pdf



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub