The Rhino.Inside® technology allows Rhino and Grasshopper to be embedded within other products.
This folder contains a sample project that demonstrates:
- Starting Rhino, Grasshopper and the Rhino.Python Editor as a Revit Addon.
- Call directly into the native Revit APIs from a Grasshopper or Rhino plugin.
- Grasshopper definitions can be opened within the Revit.
- Includes a Revit Toolbar in Grasshopper with Revit specific components
- Object can be natively created by Rhino or Grasshopper within Revit.
Questions? Visit the discussion forum...
Grab the latest installer (requires Rhino WIP and Revit 2017-2020)
If you are looking to contribute to or customize this project go to the build from source instructions.
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".
- 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: https://github.com/mcneel/rhino.inside/tree/master/Autodesk/Revit/src/RhinoInside.Revit/Samples
- Open the ribbon tab called Add-Ins.
- Click on the button you will found on the Rhinoceros panel called Sample 1.
- You should have an sphere in the Revil model.
- Use the Rhino icon into the Add-Ins tab to open Rhino editor window.
- Create some breps in Rhino. (It is best if they are building size objects to start.)
- Run Grasshopper command.
- Open "Sample2.ghx" file in Grasshopper.
- Inside Grasshopper using the Brep param pick the breps you created in step 2.
- 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.
- Inside Grasshopper click on the button Push to Bake.
- 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).
- Use the Rhino icon into the Add-Ins tab to open Rhino editor window.
- Create a surface on Rhino. (It is best if it is site size objects to start.)
- Run Grasshopper command.
- Open "Sample3.ghx" file in Grasshopper.
- Inside Grasshopper using the Surface param pick the breps you created in step 2.
- Inside Grasshopper click on the button Update Topography surface.
- You should have a Topography surface in Revit.
- Open the ribbon tab called Add-Ins.
- Click on the button on the Rhinoceros panel called Sample 4.
- Open "Sample4.ghx" file.
- The Grasshopper definition will be evaluated in background and the result baked in the Revit model.
- You should have a collection of pipes over a 3D Voronoi diagram in Revit.
- Open the ribbon tab called Add-Ins.
- Click on the button on the Rhinoceros panel called Grasshopper.
- Open the Revit tab in the Grasshopper toolbar.
- Enjoy!!
- Use the Rhino icon into the Add-Ins tab to open Rhino editor window.
- Create some geometry in Rhino.
- Click on the button on the Rhinoceros panel called Sample 6.
- You should have a preview of Rhino geometry in the Revit view.
- Use the Python icon into the Add-Ins tab to open Rhino Python editor window.
- Load pyhthon script file called "Sample7.py" there is in this folder.
- Click on the green play button you will found on the Pyhton script editor window.
- You should have an sphere in the Revil model.