RevitLookup
Interactive Revit BIM database exploration tool to view and navigate element properties and relationships.
Please refer to The Building Coder for more information.
Versions
The most up-to-date version provided here is for Revit 2020.
If you are interested in an earlier release of Revit, please grab the latest appropriate one from the release list, e.g.:
- 2019.0.0.13 for Revit 2019
- 2018.0.0.8 for Revit 2018
- 2017.0.0.24 for Revit 2017
- 2016.0.0.13 for Revit 2016
- 2015.0.0.8 for Revit 2015
Builds
Peter Hirn of Build Informed GmbH very kindly set up a public CI for RevitLookup at lookupbuilds.com using Jenkins in a multi-branch project configuration to build all branches and tags from the GitHub repository. The output is dual-signed with the Build Informed certificate, zipped and published to an Amazon S3 bucket. For more information, please refer to the Revit API discussion forum thread on CI for RevitLookup.
Peter also added the build status badge at the top of this page.
Thank you very much, Peter!
Installation
You install RevitLookup just like any other Revit add-in, by copying the add-in manifest and the assembly DLL to the Revit Add-Ins folder.
If you specify the full DLL pathname in the add-in manifest, it can also be located elsewhere.
For more information on installing Revit add-ins in general, please refer to the Revit API getting started material.
Harry Mattison of Boost your BIM very kindly provides a ready-built RevitLookup 2018 installer:
If you don’t want to deal with source code and just want to use the tool, here is Revit Lookup 2018.msi, an installer for the compiled and signed DLL ready, courtesy of Boost Your BIM.
Harry's installer was cleaned up by @VBScab and submitted to this repository in issue #51 – the MSI in the project is flawed. Here is the cleaned-up RevitLookup 2018.0.0.0 installer. However, please note that other, more recent builds exist for Revit 2018. As explained above, they can be downloaded sans installer from lookupbuilds.com.
Harry shared a new installer in his post on RevitLookup for Revit 2020, which I also added to the installer folder in RevitLookup2017-2020.msi. Says he:
I’ve added some conditional compilation and multiple configurations so that the single solution can be used to build against any version of Revit 2017-2020.
Caveat – RevitLookup Cannot Snoop Everything
This clarification was prompted by the issue #35 – RevitLookup doesn't snoop all members:
Question: I tried snooping a selected Structural Rebar element in the active view and found not all of the Rebar class members showed up in the Snoop Objects window. One of many members that weren't there: Rebar.GetFullGeometryForView
method.
Is this the expected behaviour? I was thinking I could get all object members just with RevitLookup and without the Revit API help file RevitAPI.chm
.
Answer: RevitLookup cannot report all properties and methods on all elements.
For instance, in the case of GetFullGeometryForView, a view input argument is required. How is RevitLookup supposed to be able to guess what view you are interested in?
For methods requiring dynamic input that cannot be automatically determined, you will have to make use of more intimate interactive database exploration tools, e.g. RevitPythonShell.
Author
Implemented by Jim Awe and the Revit API development team at Autodesk.
Maintained by Jeremy Tammik, The Building Coder and The 3D Web Coder, Forge Platform Development, ADN Open, Autodesk Inc., with invaluable contributions from the entire Revit add-in developer community.
Thank you, guys!
License
This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.
Credit to icons8.com for the RevitLookup icons.