Skip to content

yk35/RevitLookup

 
 

Repository files navigation

RevitLookup

Interactive Revit RFA and RVT project database exploration tool to view and navigate BIM element parameters, properties and relationships.

Please refer to The Building Coder for more information.

Installation

  • Go to the Releases section.
  • Download and run MSI file.

The installer contains all the latest versions starting from the 2015 version of Revit.

Build

Debugging:

  • Run Debug Profile in Visual Studio or Run Configuration in JetBrains Rider. The required files have been added. All project files will be automatically copied to the Revit plugins folder.

Creating a package:

  • Open the terminal of your IDE.
  • Install Nuke global tools dotnet tool install Nuke.GlobalTool --global.
  • Run nuke command.
  • The generated package will be in the output folder.

For more information on building, see the RevitTemplates Wiki page.

The project currently supports the 2022 version of Revit. You can find the source code of previous versions at the links below:

Please refer to the changelog for details.

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 can make use of more intimate interactive database exploration tools, e.g. RevitPythonShell.

Contributing

Contributions are more than welcome! Please work in the dev branch to do so:

  • Create or update your own fork of RevitLookup under your GitHub account.
  • Checkout to the dev branch.
  • In the dev branch, implement and test you changes specific to the feature.
  • Build the project and make sure everything works.
  • Create well-documented commits of your changes.
  • Submit a pull request to the origin:dev branch.

Please avoid:

  • Lots of unrelated changes in one commit.
  • Modifying files that are not directly related to the feature you implement.

Author

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

Technology Sponsors

Thanks to JetBrains for providing licenses for Rider and dotUltimate tools, which both make open-source development a real pleasure!

About

Interactive Revit BIM database exploration tool to view and navigate element properties and relationships.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.0%
  • Other 1.0%