Yesterday I pointed out that the Revit 2012 API training material is now available online from the Revit Developer Center and provided a more or less detailed overview of its content.
In addition to downloading and working through that, there are a couple of other preparations that I recommend my training participants to work through up front:
- Install the Revit SDK.
- Install RevitLookup.
- Install RvtSamples.
- Work through the developer guide hands-on walk-through tutorials.
- Work through the DevTV classes.
- Work through the My First Revit Plugin tutorial.
The SDK, DevTV classes, and first plugin tutorial are all available from the Revit Developer Center.
RevitLookup, RvtSamples, and the developer guide are part of the SDK, and the developer guide is also available online.
Whether you work through the developer guide hands-on walk-throughs, the DevTV classes or the 'first plugin' material first is up to you. The content covered overlaps to some extent.
If you like, you can postpone the installation of the SDK until after you have worked through these. Working through them first will deepen your understanding of the installation of Revit add-ins, which will be useful for setting up RevitLookup and RvtSamples.
Once you have done all or most of this, you will be in a good shape to work through the Revit 2012 API training material, which provides a pretty thorough introduction to all the basics of the Revit API.
Everything beyond goes into more depth in specific areas of your interest, either related to the particular Revit flavour appropriate to your domain or specialised advanced areas within the Revit API.
Here are a few more notes on the installation of the SDK, RevitLookup and RvtSamples:
Installing the SDK is trivial; it is an executable file, so you run it and specify a location of your choice to place the contents into.
To install RevitLookup (formerly RvtMgdDbg, described here in detail), you open the Visual Studio project in the RevitLookup subfolder of the SDK installation folder, compile it, edit the add-in manifest file to point to the correct assembly location specifying the path of your add-in DLL, and copy that to the appropriate location (replace '2011' by '2012') for Revit to pick up.
RvtSamples provides an interface to load and run all of the hundred-plus other SDK samples, instead of installing them individually. Therefore, it requires you to compile all the other SDK samples as well, as described in the following posts:
- Managing SDK samples.
- Loading SDK samples.
- Loading The Building Coder samples.
- Compiling and loading all the SDK samples.
- RvtSamples Conversion from 2009 to 2010.
- Migrating the Building Coder Samples to Revit 2012.
- Updating my SDK installation for Revit 2012 Update Release 1.
I hope that this information is complete enough to get anybody interested in the Revit API happily started. Please let me know if you discover anything missing.