Dynamo Room to Import Instance

Room to import instance

3 min read

Most Rhino/Revit tutorials focus on a unidirectional workflow whereby Rhino geometry is transferred into Revit. However, sometimes we need to go the other way. This tutorial describes how to convert Revit rooms into 3D objects for export to Rhino. This workflow is useful if you want to run some solar access analysis in Ladybug.

Step 1: Clean Revit model

Clean up the Revit file by deleting any unplaced rooms and checking room names/number are complete.

Revit_RoomArea2

Step 2: Create workset

Create a new workset, for example, “room mass”, which is not visible by default. This workset will be used to create the room volumes.

Revit_RoomMassWorksets

Step 3: Create Import Instances

In Dynamo, use the ‘Room.ImportInstance‘ node within the BVN package. This node incorporates the ‘LunchBox Room Element Collector’ node to read all rooms, and then using a string, filters the rooms as desired, in this instance, ‘Room’. Since the Revit API doesn’t allow the creation of in-place masses, an import instance is placed instead. These objects can then be used for a variety of purposes such as 3D programmatic diagrams and basic solar analysis.

By adding an ‘Element.SetName’ node, the import instances can be re-named based on the room number it was derived from, e.g. 1.01. Note that regardless of how the area schemes are set  (Architecture > Room & Area > Area & Volume Computations) – by wall face, finished face, etc. – the resulting geometry will be the internalised volume, subtracting walls and floors. Since the name of each mass is associated with the room name from which it originated, various analysis can be performed of the mass, and the results pushed back into Revit via Dynamo and Excel. This process is particularly useful when using Grasshopper and Ladybug to run environmental of the Revit model.

Step 4: Export Import Instances

Select all the import instances and go File > export > CAD formats > *dwg. Hit the ellipsis under setup.

Under the solids tab, ensure it is set to ‘ACIS solids’. This setting will allow Rhino to import breps as opposed to a mesh.

Step 5: Import to Rhino

Import the *dwg file into Rhino. The objects will come in as blocks. Explode the blocks and merge all breps into a single layer.

2 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add Revision to sheets

Add revisions to multiple sheets

A simple Dynamo workflow for adding or removing a revision to multiple sheets simultaneously in Revit 2022 or lower.

Create Internal Elevations with Dynamo
Premium

Create internal elevations

Generate elevation markers and corresponding internal elevation views using Dynamo based on rooms and their bounding wall’s orientation.

Sync Room Parameters
Premium

Sync room parameters

A Dynamo workflow to synchronise instance-based room parameters, such as apartment number, nested within a Revit model group.

Rhino Inside Revit for Dynamo users

Rhino.Inside Revit for Dynamo users

Learn some of the key differences between Dynamo and Rhino.Inside Revit and discover the benefits of migrating certain Dynamo workflows to Rhino.Inside Revit.

Copyright​

© 2023 Parametric Monkey
Parametric Monkey and the Parametric Monkey logo are trademarks of Parametric Monkey Pty Ltd.

CONTACT US

Drop us a message and someone from our team will be in touch with you shortly.

BOOM!

Thank you for your interest. Someone from our team will be in touch soon.

WORKSHOP APPLICATION

To find out about upcoming public workshops or to organise a private workshop, please submit the following contact form and we’ll be in touch soon.