Wednesday, February 20, 2013

Revit Programmer challenge: Revit Add-in Backup Tool

I was going to make a script or something myself, but I figured there is a API-guy out there waiting to make something useful and simple like this.

Challenge:  make a tool (can be an application, script or CMD) that locates and backs up all API add-ins from Revit add-in files.  Ideally, this tool would place the result in a ZIP file with subfolders that are logical and could be 'restored' to a new / clean installation of Revit.


Note: if you are going to 'take the challenge' I recommend that you post a comment so that you can co-ordinate with other coders if necessary.

Some of my notes below:

Need at least 2 x add-in folders and any referenced dlls

On my PC:

Wiki - addin locations:

Environment variables:

CMD Reference:


  1. I don't have time to code anything, but the .addin files are human readable and contain the paths to the dlls. So copying them plus the dlls to a zip file or something would be easy. The thing to keep in mind is that many of the addins have several support files, folders, and possibly registry entries. You would need to figure out how to collect all of those.

  2. Hey Luke.

    This may be possible for the simplest of addins, by looking through the addin files to get the path to the dlls. But there will be so many addins that also rely on a ton of different files etc to run for example sql or other libs. I think it would not be an easy task to cover every Revit Addin like this?

    It will be interesting to see what comes of this challenge. :)