Rhino + Revit Interoperability Workflow Using Live Objects

RH-RVT_Workflow_Diagram-01

Like a honeycomb structure, an interoperability workflow weaves software together to make an efficient system. In this example, we’ll create a live floor element in Revit from a surface in Rhino.

Objectives

1. Read surface by layer name and sort by elevation in Grasshopper
2. Extract parameters (curves, level names, number of floors, and elevations) and send to Flux
3. Create a level and floor element in the Flow Tool
4. Merge level and floor element in Revit

RH+RVT_Interop_GH_R01

 

Steps 1-2

 

RH-RVT_GH_01RH-RVT_GH_02RH-RVT_GH_03

We’ll start off with a rhino model that contains surfaces in a designated layer.
A single surface is read by index, its parameters extracted, then sent to Flux
(where the magic happens).

GH_06

• Dynamic Pipeline – Set to ‘read by layer name only’
• Number slider – Select surface by index
• Flux Project – Select project
• To Flux – Send data to Flux (flow control mode: constantly)

GH_07• Area centroid
• Deconstruct Point – Extract elevation (unit Z)
• Sort List – Sort surfaces by elevation
• Brep | Plane – Extract closed planar curves
• Insert Items – Construct list of text/numerical values for level names and number (individual ID)

 

Step 3

 

RH-RVT_Flux_Flow_01

• Create Level
• Create Floor – Requires closed input curves in a single list
The order of operations is levels first, floors second. That’s so the floor knows which level
it lives on!

RH-RVT_Flow_01

 

Step 4

 

Interoperability_HowTo_Page_5_Image_0001Interoperability_HowTo_Page_5_Image_0002Interoperability_HowTo_Page_5_Image_0003Interoperability_HowTo_Page_5_Image_0004

Using the handy Revit plugin, merge the level, and then, you guessed it, the floor.

 

N.B. If you’re feeling lazy, simply connect the data parameters to its respective
To Flux component and send all data at once 🙂

NB_GH

Advertisements
Link

Sharing Shortest Paths with Flow Tool

I wanted to try out how easy it would be to convert the Grasshopper file used to create points from a text file, created with Processing, into Flux’s flow tool.

Pathfinding_01

Text file cleaned, splitted, and pointed

Pathfinding_02

Points to Lines

The main difference from the Flow Tool and the Grasshopper file is that the Polyline component creates the five distinct lines from the text file, while in the Flow Tool, that block is not available, and so the paths are individual lines.

 

Pathfinding_Result

One advantage is that you can easily share the result with anyone using a link to the data key.