Add-In Wizards for Revit 2015

I updated my Visual Studio Revit add-in wizards for Revit 2015.

The 2015 version generates the same boilerplate code as the reliable old Revit 2014 one and its update did, which can be simply deleted if not needed.

I selflessly also implemented and tested the Visual Basic version right away.

Revit Add-in Wizard Customisation

As I keep pointing out, it is important to understand how easy it is to modify the wizards for your own needs, and make copies with variations to support different requirements.

Here is an overview of previous explanations of various aspects that also show how to create your own flavours:

Just like for Revit 2014, the Revit 2015 add-in wizard uses the $(ProgramW6432) Visual Studio project template variable to determine where to locate the Revit API assembly files for referencing and the Revit.exe executable for debugging.

Revit Add-in Wizard Usage

Simply install the wizard zip files you need in the appropriate locations, start up Visual Studio, create a new C# or VB Revit add-in project using the wizard default settings, and immediately hit F5 to start up Revit.exe in the debugger.

The wizards perform the following functions for C# and VB, respectively:

Therefore, immediately after the initial add-in creation, you can immediately launch the debugger. The add-in is compiled, Revit is started up, the add-in is loaded, you can select the new external command in the External Tools menu, launch and test it immediately without entering one single further keystroke yourself.

The new command even executes in zero document state, although the default external command skeleton implementation throws an exception trying to access a property on the current UI document, which is null. It shows you that everything is working correctly right away, though.

Wizard Download and Installation

The appropriate locations to install the wizards for Visual Studio to pick them up are language dependent.

Copy the zip file of your choice to the matching Visual Studio project template folder in your local file system:

I hope you find this useful and look forward to hearing any suggestions for improvement you come up with.

Better still, implement them yourself and let us know where to pick them up :-)