by Guy Robinson
1. December 2008 14:29
How do you get an bitmap or thumbnail from your Revit projects and families? How does Windows generate these for Explorer?
For files that aren’t image formats, applications can implement IExtractImage . This provides a standard Interface for the windows shell to extract a bitmap from the host application. The library that implements this Interface for Revit is RevitPreview.dll which you’ll find in the Program directory of your installation. And now a Revit bug that existed on x64 platforms has been fixed in the latest builds (R**2009 SP3) it’s a good time to post some code to wrap the nasty details so you can extract these bitmaps for your own applications.More...