Getting your Revit thumbnails

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...

About the Author

A .NET software Developer providing custom applications and commands for architecture firms exclusively working with Autodesk Revit and integration with any associated applications. All from a little place north of Whitianga, New Zealand.

Page List

Disclaimer

I'm self employed so the opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway☺

© Copyright2008

Creative Commons License
Blog content is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

With the following exception. All code snippets, application and libraries are licensed under a a Apache License Version 2.0

Autodesk Revit®

Autodesk: Revit is a product that is wholly owned by Autodesk. Any reference to Revit,Revit API, Revit Architecture, Revit MEP or Revit Structure on this site is made acknowledging this ownership. Refer to Autodesk's own web site and product pages for specific trademark and copyright information. Autodesk represents a great many products and every attempt will be made to respect their ownership whenever one of these other products is mentioned on this site.