AutoCAD .NET Wizard Installed but no VB Plugin in New Project Wizard

AutoCAD .NET Wizard Installed but no VB Plugin in New Project Wizard

mockymock11
Enthusiast Enthusiast
2,792 Views
4 Replies
Message 1 of 5

AutoCAD .NET Wizard Installed but no VB Plugin in New Project Wizard

mockymock11
Enthusiast
Enthusiast

Trying to run through the lessons for creating my first plug in, successfully downloaded and installed Visual Studio 2017, then ran the AutoCAD 2019 VBA module 64-bit  and that installed successfully, but I don't see any Autodesk choice in the Installed column of the New Project Wizard? I've tried different Framework settings in the Wizard.  It opens to 4.6.1.  I've changed it to 4.6, 4.7 and 4.7.2 with no affect...  Is there a way to load it or help Visual Studio locate it?  thanks. 

 

Screen Shot 11-06-18 at 02.45 PM.JPG

0 Likes
2,793 Views
4 Replies
Replies (4)
Message 2 of 5

norman.yuan
Mentor
Mentor

You have confused AutoCAD .NET API with AutoCAD VBA: AutoCAD 2019 VBA module 64-bit is also known as AutoCAD VBA Enabler, which is separated installation from AutoCAD since AutoCAD2013 (or 2014?), if one want to run/develop AutoCAD VBA program.

 

You use Visual Studio (C# or VB.NET, while not much difference in terms of .NET technology, but if you just started, C# would be more recommended choice) for AutoCAD .NET API programming, which is different from AutoCAD VBA.

 

Since I've never used AutoCAD .NET new project wizard, I am not sure if it is available for Acad2019. But I'd recommend not use the wizard. Do it all manually would help you to understand how AutoCAD .NET plugin works with AutoCAD. Also, for AutoCAD2019, you need to target .NET framework 4.7x.

 

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 3 of 5

mockymock11
Enthusiast
Enthusiast

Thanks for the reply.  The 2019 help section states "New projects are created based on a project template. When creating a new project that will be built into a DLL assembly that will be loaded into AutoCAD, use the Class Library template that comes with Microsoft Visual Studio or one of the AutoCAD Managed project application templates that get installed with the AutoCAD .NET Wizard. Both types of templates are available for the VB.NET and C# programming languages. After a new project is created, you will need to reference the files that make up the AutoCAD .NET API."

 

https://www.autodesk.com/developer-network/platform-technologies/autocad  this is the link where I think the .NET wizard is located - I think I've installed everything on that page, but still don't see any Autocad templates when I open Visual Studio....  

 

While some suggest using C++ the tutorial is in .NET and since I'm just learning I'll stick to .NET to follow the tutorials....  but I need the Autocad template to move forward and am struggling to figure out how to find it / install it...

 

Mark. 

0 Likes
Message 4 of 5

norman.yuan
Mentor
Mentor

OK, since you are now aware that what you want is not 'AutoCAD VBA module", you may also want to know that this forum is meant for AutoCAD VBA/COMAPI ("Visual Basic..." in the forum name is meant for VBA, not VB.NET). In future if you have any question regarding AutoCAD .NET API (as you expressed your intention), you want to post in .NET forum here.

 

Again, I do not use AutoCAD .NET new project wizard, so, cannot tell where to download it and how to install it. IMO, new starter of AutoCAD API programming should avoid to use it. In This recent discussion in .NET forum, _gile (who is the most helpful one in the .NET forum, by the way) gives an excellent answer in his first reply to the question, which I think would also help you.

 

 

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 5 of 5

mockymock11
Enthusiast
Enthusiast

got it  - thank you

0 Likes