Check out the Self-Paced Guide “My First Plug-in” presented by the ADN Revit Team
Are you an Autodesk Revit power user with an interest in becoming even more productive? Would you like to automate or extend the capabilities of Revit, 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 into 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 Autodesk Revit .NET API and the C# programming language. The supported product version is Autodesk Revit Architecture 2011 and succeeding versions.
There are many resources available on the web for you to learn about the Autodesk Revit API (Application Programming Interface), 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 progressing onto lessons covering the use of the Autodesk Revit API. The lessons will start by building a working plug-in before covering more detailed explanations of the underlying principles and further developing the application’s functionality.
Product: Autodesk Revit 2011 or higher
Programming Language: C#
Application Programming Interface (API): Revit .NET API
If you have any feedback on this new guide let us know at firstname.lastname@example.org
Thanks for the words of appreciation.
Revit API had undergone some fundamental changes from Revit 2010 to Revit 2011 and so we will recommend that you use Revit 2011 (and higher) when you are trying out this guide.
Good luck and hope you enjoy working with this guide. Feel free to get in touch with us if you have any queries.
I was planning on working through guide and I followed the link to install the Visual C# 2010 Express but the link offered the latest version of visual studio 11 beta which installs .NET4.5 beta. This version of .NET corrupted my ribbon and made Revit mostly unuseable so don't install the 2011 version it offers.
Good share. There are some message from microsoft about this.
The .NET Framework 4.5 RC replaces the .NET Framework 4. When you install the .NET Framework 4.5 RC on a system that has the .NET Framework 4 installed, the assemblies are replaced.
Uninstalling the .NET Framework 4.5 RC also removes pre-existing .NET Framework 4 files. If you want to go back to the .NET Framework 4, you must reinstall it and any updates to it.
You must have administrative credentials to install the .NET Framework 4.5 RC.
wonder if it is still restricted to limited functions only or Autodesk now allows to change basic configuration on Revt as it does with AutoCAD
It might be a good idea to elaborate on your query (about which specific configuration you are asking about) and open up a new forum post, so that the query can be easily located by other members in this community and does not get buried in this post which is about the My First Revit Plugin guide.
ok I get this erroe when I try to run the plugin. Any ideas? Or should I just move onto the next step.
MS VS Express 2012
So.. this looks like it may not be a good option for thos with "no previous programming knowledge" and may also not "help(s) you build your first plug-in quickly".
Is that what I'm seeing here? Not trying to be an a**, just wondering if I shouldn't waste any time with this yet.