These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Git (download)
- Visual Studio 2019 (16.0 or above) (download)
- .NET Framework Developer Pack (4.6.1, 4.6.2, 4.7, 4.8) (download)
- Rhino 7 (download)
- Autodesk Revit 2018-2022 (download)
- Add this link to your bookmarks 😉 (API docs)
-
Clone the repository. At the command prompt, enter the following command:
git clone --recursive https://github.com/mcneel/rhino.inside-revit.git
-
In Visual Studio, open
rhino.inside-revit\src\RhinoInside.Revit.sln
. -
Set the Solution Configuration drop-down to the Debug <revit_version>, with Revit version you have installed or want to test. This will properly link the correct Revit API libraries to the project.
-
Navigate to Build > Build Solution to begin your build.
The project is configured to copy .addin file as well as output files to the folder
%APPDATA%\Autodesk\Revit\Addins\<revit_version>\RhinoInside.Revit\
folder in order to make Revit load this add-in next time it runs.
In order to uninstall it you can use Visual Studio Build > Clean Solution command
or just navigate to the folder %APPDATA%\Autodesk\Revit\Addins\<revit_version>
and remove the file RhinoInside.Revit.addin
and the folder RhinoInside.Revit
.