Revit API Reference with yellow triangle Visual Studio 2015.

Revit API Reference with yellow triangle Visual Studio 2015.

Anonymous
Not applicable
640 Views
2 Replies
Message 1 of 3

Revit API Reference with yellow triangle Visual Studio 2015.

Anonymous
Not applicable

Hello,

 

I am an absolute beginner so I really need your help. I am trying to working on the Revit 2017 Addin Template on Visual Studio 2015. What I did is I pasted the zip file provided by Jeremy Tammjk to [MyDocument]\Templates\ProjectTemplates\VisualC#. However, when I open the template in Visual Studio 2015 and checked the References (in the Solution Explorer) the Revit API and RevitAPIUI are embedded with a small yellow triangle. Moreover, a few functions (for example: Transaction or TaskDialog) are not popped up when I compile the code. Please help me so I can start going further.

Untitled.png

0 Likes
641 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

Hello,

 

First of i would suggest you to read this link (set both dlls to False on Copy Local): http://thebuildingcoder.typepad.com/blog/2011/08/set-copy-local-to-false.html

 

Then, if you are a beginner, just follow the developers' guide:

http://help.autodesk.com/view/RVT/2017/ENU/?guid=GUID-F0A122E0-E556-4D0D-9D0F-7E72A9315A42

 

In your code you're probabily missing a 'using' statement:

using Autodesk.Revit.DB;
using Autodesk.Revit.UI;

Cheers and good luck!

 

 

0 Likes
Message 3 of 3

stever66
Advisor
Advisor

Do this:

https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2015/EN...

 

Then, as mentioned above, in the properties for each of these two references, set the Copy Local to false.

 

you should also try working through the "my first revit plugin" when you can.  See the first few posts pinned to the top of this message board.

0 Likes