.NET

.NET

Reply
ADN Support Specialist
augusto.goncalves
Posts: 341
Registered: ‎04-30-2009
Message 1 of 2 (193 Views)

Check out the self-paced guide “My First Plug-in”

193 Views, 1 Replies
02-22-2012 01:23 PM

Check out the self-paced guide “My First Plug-in”


http://www.autodesk.com/myfirstautocadplugin


Are you an AutoCAD® power user with an interest in becoming even more productive? Would you like to automate or extend the capabilities of AutoCAD, but are new to computer programming? If so, then this guide is designed for you.

 

“My First Plug-in” is a self-paced tutorial guide for a smooth introduction to the programming world. This is a “one-stop shop” learning path for users who know Autodesk products but are absolutely new to programming and are thinking about taking the plunge. In this guide, you will be working with the AutoCAD .NET Application Programming Interface (API) and the Visual Basic .NET programming language to create a ‘plug-in’ – a module that loads into AutoCAD to extend its functionality. Once you have finished this tutorial, you will understand the basics of .NET programming and how they are applied to AutoCAD.

 

There are many resources available on the web for you to learn about the AutoCAD .NET API. However, these resources tend to be designed for people who already know programming. This guide is different: it assumes no previous programming knowledge and yet helps you build your first plug-in quickly, without swamping you with details. You’ll have a working application within an hour of starting this material, irrespective of your current level of programming expertise.

 

The guide will start by reviewing the benefits of customizing Autodesk software before moving on to lessons covering the use of the AutoCAD .NET API. The lessons will start by building a working plug-in before covering more detailed explanations of the underlying principles and further developing the plug-in’s functionality.

 

Product: AutoCAD 2012*
Programming Language: Visual Basic .NET
Application Programming Interface (API): AutoCAD .NET API

*This guide was created for ‘vanilla’ AutoCAD 2012. However, all steps in this guide are applicable to any AutoCAD ‘vertical’ product (AutoCAD Architecture, AutoCAD Civil 3D, etc.). The AutoCAD .NET API is common to all these products; each vertical adds its own specialized API on top of the AutoCAD .NET API. The code shown will also work in AutoCAD 2010 and 2011 (just substitute 2010 or 2011 whenever you read 2012).


If you have any feedback on this new guide let us know at myfirstplugin@autodesk.com

Regards,



Augusto Goncalves
Autodesk Developer Network
*Expert Elite*
_gile
Posts: 2,082
Registered: ‎04-29-2006
Message 2 of 2 (172 Views)

Re : Check out the self-paced guide “My First Plug-in”

02-22-2012 11:01 PM in reply to: augusto.goncalves

The VB source codes have been translated in C# here:

http://www.acadnetwork.com/topic-28.msg291.html#msg291

and in F# here:

http://www.theswamp.org/index.php?topic=40471.msg458198#msg458198

Gilles Chanteau
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 or visit the Installation and Licensing Forum to get help installing your software.