Revit API missing?

Revit API missing?

revitworkbench
Collaborator Collaborator
1,688 Views
2 Replies
Message 1 of 3

Revit API missing?

revitworkbench
Collaborator
Collaborator

I am trying to install the Revit Look up addin from the SDK, but nothing can work because I seem to be missing the API references completely. I cannot find out where they reside or how to reinstall them. Wiki help doesn’t help and everyone on the web seems to thing downloading the SDK is all you need. But clearly it is not. I just want it to work but the steps on the web are not descriptive enough because something fundamental is missing. Please see my attached file. Nothing on the web accounts for me missing these files appropriately. My goal right now is to successfully install the RevitLookup.addin (and no, just copying and pasting it into the addin folder like every web page says does not work!) Please talk to me like I am a 5 year old and hold my hand because so far, not a single step has worked like anybody says. Thanks in advance!

0 Likes
Accepted solutions (1)
1,689 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Accepted solution

I see whats going wrong. I'll give you a hand because I always run into this problem aswell and because I find this forum is dead always (WTH Autodesk get your support staff on here or kick them up the butt please!).

 

My RevitAPI.dll is found here: C:\Program Files\Autodesk\Revit 2013\Program\RevitAPI.dll

 

In Visual C#, go to the 'Solution Explorer' and right click the 'References' folder. In the popup menu, click 'Add Reference'. Then in the dialog that appear click the 'Browse' tab and navigate to "C:\Program Files\Autodesk\Revit 2013\Program\RevitAPI.dll" and "C:\Program Files\Autodesk\Revit 2013\Program\RevitAPIUI.dll". You now should be able to recompile, I suggest to do a complete rebuild (Go to Solutions Explorer and right click the Project Name and then select 'Rebuild' in the menu.

 

If that doesn't work just download the Addin and DLL attached to this reply. You'll need to place both files inside "C:\ProgramData\Autodesk\Revit\Addins\2013" or "C:\ProgramData\Autodesk\Revit\Addins\2014" or whatever version of Revit you are using. You'll also need to restart/start Revit then open a project then navigate to the Add-ins tab.

Message 3 of 3

yexiongjin
Contributor
Contributor
Hello,

We have a tutorial name: My first Revit plug-in. It is for those non-programmers.
http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=16849339

It guides where to get the Revit API references step by step.

Hope that helps.
0 Likes