Revit – Installing Revit Lookup 2016

I encountered some problems while trying to compile Revit Lookup 2016  using the procedure described on the archi-lab.net page for Revit 2014. It didn’t work. SharpDevelop couldn’t build solution.

This was the output information:Error Output SharpDevelop at start

 

Instead of reading it I tried to download the compiled version 2016 from the Internet.  Kindly Troy Gates  shares it on his blog – Revit Coaster. But it didn’t work either. I received this error.Error Revit Lookup 2016

(here is also a compiled Revit Lookup 2015 at Revit Coaster)

Then I tried again to compile it using SharopDevelop but his time I had read the Output window which was showing what is wrong. Error Output SharpDevelop

The problem of course was with the path so I tried to locate this path. I found it under Properties by clicking at Revit Lookup in Project Panel.Error SharpDevelop 1

It can also be accessed through the top menu Project > Project Options..

The wrong path was under Compiling tab in Output Path here:Error SharpDevelop 2

I changed it to the existing folder in …bin\Debug\ and all went fine.

SharpDevelope nicely compiled the project and put two files RevitLookup.addin and RevitLookup.dll automatically in: C:\Users\UserName\AppData\Roaming\Autodesk\Revit\Addins\2016

Revit started with Revit lookup 2016 already installed.


The complete procedure to Install Revit Lookup 2016 looks like this:

  1. Download the latest Revit Lookup 2016 from https://github.com/jeremytammik/RevitLookup/releases
  2. Open SharpDevelop. It should be installed automatically with revit 2016. You can find the SharpDevelop.exe file in here: C:\Program Files\Autodesk\Revit 2016\SDA\bin
  3. Drag and drop RevitLookup.csproj to the Projects Panel.
  4. Remove existing References from Projects Panel to RevitAPI and RevitAPIUI.Error SharpDevelop 3
  5. Add references to the RevitAPI.dll and RevitAPIUI.dll that can be found in the main Revit folder at: C:\Program Files\Autodesk\Revit 2016
    Right click on References:02Go to .NET Assembly Browser and click on the Browse… button.03Go to the C:\Program Files\Autodesk\Revit 2016 location and add the RevitAPI.dll and RevitAPIUI.dll file.
  6. Amend the Output Path in menu Project >Project Options.. > Compiling to any existing folderif you have an error like me.
  7. Hit  Build Solutions button and watch for errors. If it says that it was Build Successfully then you are good to go.The RevitLookup.addin and RevitLookup.dll will be saved in: C:\Users\Name\AppData\Roaming\Autodesk\Revit\Addins\2016
    If you get bunch of warnings with it, its OK as long as its compiled successfully. I didn’t have any.
    If you want to use ProgramData instead, copy RevitLookup.addin and RevitLookup.dll to:
    C:\ProgramData\Autodesk\Revit\Addins\2016 and remove them from:
    %appdata%\Autodesk\Revit\Addins\2016
  8. Open Revit and check if Lookup 2016 is in the  Add-Ins tab.

I hope I helped.

One thought on “Revit – Installing Revit Lookup 2016”

  1. Incredibly detailed write-up! Thanks Pablo

    I’d like to add one note: I tried to follow your steps exactly, but came across another error:

    “The command “copy “C:\Users\Ollie\Desktop\RevitLookUp\RevitLookup.addin” “C:\Users\Ollie\AppData\Roaming\Autodesk\REVIT\Addins\2016”
    copy “C:\Users\Ollie\Desktop\RevitLookUp\bin\Debug\RevitLookup.dll” “C:\Users\Ollie\AppData\Roaming\Autodesk\REVIT\Addins\2016″” exited with code 1. (MSB3073)”

    It turns out under the Build Events tab I needed to remove two lines automatically placed in the ‘Post-Build Event Command Line:’ section, which read:

    copy “$(ProjectDir)RevitLookup.addin” “$(AppData)\Autodesk\REVIT\Addins\2016”
    copy “$(ProjectDir)bin\Debug\RevitLookup.dll” “$(AppData)\Autodesk\REVIT\Addins\2016”

    After doing that the program compiled successfully.

    Thank you so much for the very helpful write-up!

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.