RTV Tools

Friday, March 7, 2014

A few notes on Compiling and Installing the Revit API Samples

You might be surprised at some of the cool samples that are included in the Revit SDK - which is likely already installed on your system.  Here are a few notes on pathing that may assist:

Build Revit API Samples:
C:\Revit 2014 SDK\Samples\SDKSamples2014.sln

Copy these files

to
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0

Build solution

Modify DLL path in:
C:\Revit 2014 SDK\Samples\RvtSamples\CS\RvtSamples.addin
to
C:\Revit 2014 SDK\Samples\RvtSamples\CS\RvtSamples.dll

Save the .addin to:
C:\ProgramData\Autodesk\Revit\Addins\2014

3 comments:

  1. Please could you expand those notes so that non-experts in Visual can take steps to install the Revi API Samples?

    Thanks.

    ReplyDelete
  2. Pls could you help me in my problem with add-in for Revit. It works in 2014 veersion, but doesn't work in 2015. I already built new dll.

    ReplyDelete
    Replies
    1. Is this a custom addin that you have built yourself?

      Delete