Skip to content
This is the open-source repository for Rhino.Inside.Revit
C# Python
Branch: master
Clone or download
Latest commit f7a3f16 Nov 14, 2019

README.md

Rhino.Inside® for Revit

Build status

The Rhino.Inside® technology allows Rhino and Grasshopper to be embedded within other products.

This folder contains a sample project that demonstrates:

  1. Starting Rhino, Grasshopper and the Rhino.Python Editor as a Revit Addon.
  2. Call directly into the native Revit APIs from a Grasshopper or Rhino plugin.
  3. Grasshopper definitions can be opened within the Revit.
  4. Includes a Revit Toolbar in Grasshopper with Revit specific components
  5. Object can be natively created by Rhino or Grasshopper within Revit.

Questions? Visit the discussion forum...

Getting started

Grab the latest installer (requires Rhino WIP and Revit 2017-2020)

For automated push installs and installing for All Users, see the Automated Install for Rhino.Inside.Revit Guide

If you are looking to contribute to or customize this project go to the build from source instructions.

Installing & Uninstalling

The installer copies the necessary files to the "%APPDATA%\Autodesk\Revit\Addins\<revit_version>\" folder (for each supported version). Restart Revit to load the add-on.

To uninstall, open Programs and Features, select "RhinoInside.Revit" and click "Uninstall".

Using the samples

  • Once you launch Revit it will warn you this addon is not verified, please click on "Load always" or "Load once".
  • Create a new project or open an existing one.
  • Now in the Add-ins Ribbon tab you have a Rhinoceros section.
  • Be careful about your model units in Rhino
  • The source for all the developer samples can be found here.

Sample 1

  1. Open the ribbon tab called Add-Ins.
  2. Click on the button you will found on the Rhinoceros panel called Sample 1.
  3. You should have an sphere in the Revil model.

Sample 2

  1. Use the Rhino icon into the Add-Ins tab to open Rhino editor window.
  2. Create some breps in Rhino. (It is best if they are building size objects to start.)
  3. Run Grasshopper command.
  4. Open "Sample2.ghx" file in Grasshopper.
  5. Inside Grasshopper using the Brep param pick the breps you created in step 2.
  6. The Value List component (looks like a dropdown selector) will allow you to specify which Revit OST Category you want geometry to be "baked" into.
  7. Inside Grasshopper click on the button Push to Bake.
  8. You should have the breps created in step 2 in the Revit model, and they should belong to the specified category (Generic is available and is also used as a catch-all fallback).

Sample 3

  1. Use the Rhino icon into the Add-Ins tab to open Rhino editor window.
  2. Create a surface on Rhino. (It is best if it is site size objects to start.)
  3. Run Grasshopper command.
  4. Open "Sample3.ghx" file in Grasshopper.
  5. Inside Grasshopper using the Surface param pick the breps you created in step 2.
  6. Inside Grasshopper click on the button Update Topography surface.
  7. You should have a Topography surface in Revit.

Sample 4

  1. Open the ribbon tab called Add-Ins.
  2. Click on the button on the Rhinoceros panel called Sample 4.
  3. Open "Sample4.ghx" file.
  4. The Grasshopper definition will be evaluated in background and the result baked in the Revit model.
  5. You should have a collection of pipes over a 3D Voronoi diagram in Revit.

Sample 5

  1. Open the ribbon tab called Add-Ins.
  2. Click on the button on the Rhinoceros panel called Grasshopper.
  3. Open the Revit tab in the Grasshopper toolbar.
  4. Enjoy!!

Sample 6

  1. Use the Rhino icon into the Add-Ins tab to open Rhino editor window.
  2. Create some geometry in Rhino.
  3. Click on the button on the Rhinoceros panel called Sample 6.
  4. You should have a preview of Rhino geometry in the Revit view.

Sample 7

  1. Use the Python icon into the Add-Ins tab to open Rhino Python editor window.
  2. Load pyhthon script file called "Sample7.py" there is in this folder.
  3. Click on the green play button you will found on the Pyhton script editor window.
  4. You should have an sphere in the Revil model.
You can’t perform that action at this time.