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: C:ProgramDataAutodeskREVITAddins2013 C:UsersLukeAppDataRoamingAutodeskRevitAddins2013
You may have already heard about Boost Your BIM – a new and quite prolific programming (API and macro) blog for Revit by Harry Mattison. If his recent posts are anything to go by, this blog should be on your ‘must follow’ list. Also, I could be wrong, but I think his profile image might be a reference to my post here…
Here is some recent posts that I found to be pretty interesting: Macros vs. Add-Ins – What’s the difference? The code for your macro is stored in an RVT file if it is a document macro. If you create an application macro the code is stored independently on your computer … The code for your Add-In gets compiled into a DLL file.
Some info about Harry (from BIMopedia): Harry joined Revit Technology Corp in 1998 and spent his last few years at Autodesk as a software developer on the Revit API team. Now Harry has set out on this own and would like to help more people appreciate and benefit from the Revit API.
Whether you prefer C# or VB.Net for Revit API add-in development is probably a matter of preference. So for those of you who haven’t heard yet:
Based on popular demand, we have now added new VB.NET samples. So regardless whether you are new to this training or have already gone through it once with the C# code, now is your chance to choose the language you prefer, C# or VB.Net, at www.autodesk.com/myfirstrevitplugin.