# Revit materials into Rhino using Rhino.Inside

**URL:** <https://discourse.mcneel.com/t/revit-materials-into-rhino-using-rhino-inside/140337>\
**Category:** Revit\
**Tags:** windows, rhinoinsiderevit\
**Created:** [March 31, 2022, 1:10pm UTC](https://discourse.mcneel.com/t/revit-materials-into-rhino-using-rhino-inside/140337 "2022-03-31T13:10:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![douniatouil](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/douniatouil/32/337646_2.png) [@douniatouil](https://discourse.mcneel.com/u/douniatouil)\
**Post date:** [March 31, 2022, 1:10pm UTC](https://discourse.mcneel.com/t/revit-materials-into-rhino-using-rhino-inside/140337/1 "2022-03-31T13:10:26Z")

</div>

Hi,

I have established a simple workflow to transfer Revit elements into Rhino using Rhino.Inside (Grasshopper script attached) and was wondering if there is a possibility to transfer Revit materials as well?  
[RevitToRhino.gh](https://discourse.mcneel.com/uploads/short-url/oQ1P7xYU5opI7cqfJXgbpwNjZ0r.gh) (26.6 KB)

The idea is to set up the materials in Revit and be able to use them as well in the Rhino model.

Any help will be appreciated,

Thanks

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [March 31, 2022, 3:37pm UTC](https://discourse.mcneel.com/t/revit-materials-into-rhino-using-rhino-inside/140337/2 "2022-03-31T15:37:40Z")

</div>

Hi Douniatouil,

You can currently add the materials to the Rhino document by Baking a Revit Material Component, then the Elefront Attributes will accept the name and add the Material to the Geometry.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/8/5/9/8590784e0152109a1f30c447024dd0803543ee8c.png)

---

<div class="post-metadata">

**Author:** ![douniatouil](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/douniatouil/32/337646_2.png) [@douniatouil](https://discourse.mcneel.com/u/douniatouil)\
**Post date:** [March 31, 2022, 6:38pm UTC](https://discourse.mcneel.com/t/revit-materials-into-rhino-using-rhino-inside/140337/3 "2022-03-31T18:38:36Z")

</div>

Hi Japhy,

This is brilliant! thank you so much!

---

<div class="post-metadata">

**Author:** ![William\_Masschelein](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/william_masschelein/32/651539_2.png) [@William\_Masschelein](https://discourse.mcneel.com/u/William_Masschelein)\
**Post date:** [February 23, 2025, 12:53am UTC](https://discourse.mcneel.com/t/revit-materials-into-rhino-using-rhino-inside/140337/4 "2025-02-23T00:53:57Z")

</div>

Hello, this is a great solution for simple geometries like walls. However, when windows are being extracted for instance, there is an unequal amount of materials to geometries, and assigning the right material to its corresponding geometry is complicated. I was wondering if a component that does this automatically is being developed. This would be especially useful for the workflow Revit → Rhino → Lumion for instance.

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [February 24, 2025, 1:43pm UTC](https://discourse.mcneel.com/t/revit-materials-into-rhino-using-rhino-inside/140337/5 "2025-02-24T13:43:49Z")

</div>

Hi William,

There are a lot variables involved in the display of Revit elements/ assigning materials in Revit.

Simply baking the element to Rhino is typically effective, there is also the Element Preview Geometry component that cuts through the complexity of figuring out how a material is assigned and nested elements.

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/b/2/a/b2a2bc98dbbc936cf3f8ba38801c90f259148665.png)

---

<div class="post-metadata">

**Author:** ![William\_Masschelein](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/william_masschelein/32/651539_2.png) [@William\_Masschelein](https://discourse.mcneel.com/u/William_Masschelein)\
**Post date:** [February 24, 2025, 10:26pm UTC](https://discourse.mcneel.com/t/revit-materials-into-rhino-using-rhino-inside/140337/7 "2025-02-24T22:26:36Z")

</div>

Thanks Japhy, this is very useful. Using the element preview component, I can now sort the window parts into layers with their corresponding materials automatically. (Here I’m using the material name as the layer name). This allows for fast modification with the option of changing the material of the entire layer in a rendering engine like Vray.  
However, I wanted to convert the meshes coming out of the Preview component back to geometries, which caused some open Breps unfortunately. The result isn’t noticeable here, but if I had curved geometries then this process would result in low quality. If instead of meshes, Breps could come out of the preview component (of course, of the same count as the number of materials) then that would certainly be very useful

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/6/a/e/6ae6b813240a520da005420f99b95f86fc22b1e8.jpeg)

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [February 24, 2025, 11:26pm UTC](https://discourse.mcneel.com/t/revit-materials-into-rhino-using-rhino-inside/140337/8 "2025-02-24T23:26:38Z")

</div>

> [@William\_Masschelein](#):
>
> same count as the number of materials

That is possible if you assign all the materials by ObjectStyles (subcategories)

> [@Sorting/Filtering Curtain Panel Geometry by Material](https://discourse.mcneel.com/t/sorting-filtering-curtain-panel-geometry-by-material/173404/4):
>
> There is, but you might not like it. Here I added a subcategory to the Family for all the parts of the Curtain Panel that need materials. Then in the Project go add the Material to the SubCategory Then expand your Element Geometry component to get the Category & corresponding geometry.

---

<div class="post-metadata">

**Author:** ![William\_Masschelein](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/william_masschelein/32/651539_2.png) [@William\_Masschelein](https://discourse.mcneel.com/u/William_Masschelein)\
**Post date:** [February 25, 2025, 12:18pm UTC](https://discourse.mcneel.com/t/revit-materials-into-rhino-using-rhino-inside/140337/9 "2025-02-25T12:18:37Z")

</div>

Thanks Jaffy, this is a great workaround!  
Since the Element Preview component didn’t seem to work with subcategories, I find myself replacing the texts in order to organize my layers, and then apply materials to these layers in Rhino, but this works well enough. Is there a way to make the Element Preview component work with subcategories, that way I could import the Revit materials directly as before?

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/f/f/b/ffb7bdd27c58aca4a2e49735a39a0d58fc0fe429.jpeg)

---

<div class="post-metadata">

**Author:** ![Japhy](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/japhy/32/487647_2.png) [@Japhy](https://discourse.mcneel.com/u/Japhy)\
**Post date:** [February 25, 2025, 12:45pm UTC](https://discourse.mcneel.com/t/revit-materials-into-rhino-using-rhino-inside/140337/10 "2025-02-25T12:45:07Z")

</div>

Does baking and working with the Rhino Objects fit this workflow better?

 ![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/6/0/2/60295e9cdc6f69177db3e57d27b5c1a6ff1f61b2.jpeg)
