I arrived safely back home after taking a tranquil and uneventful train ride from Milano through Switzerland. No more airplanes or airports for me this year! There was actually not all that much snow in sight, and no disturbances whatsoever. Now I have a couple of days to try to pick up the threads of my normal life again, both work and private, after a full month of nonstop conferences and travelling.
Here is a pretty little sample application by Agnius Vasiliauskas, who also runs a very interesting blog named Coding experiments covering a number of programming problems in various languages, with a lot of solutions especially around mathematical Euler problems, image manipulation and analysis.
Agnius made his first excursion into the Revit API, with the following goals:
Agnius adds: I want my work to be useful for everybody else who develops for Revit. Because of this, I send you my work, with the hope that maybe you will find it useful too.
I created this add-in entirely from scratch based completely on the following publicly available information:
Here is a screen snapshot of the add-in form to provide a quick preview:
Here is the complete Visual Studio 2010 C# project for this Revit add-in as well.
Some of the solutions incorporated into the project are the modeless dialogue handling using the Idling event to communicate with Revit and the ElementType preview image. I totally agree that it can prove useful for others as well.
Agnius' project door lister is a really impressive example of what somebody with good programming knowledge can achieve using the Revit API in very little time, starting from absolutely zero. Very many thanks to Agnius for sharing this!