Revit window material to Rhino using RIR

Hello everyone. I managed to bring all the windows of a project into Rhino using RIR. Now I want to map the Revit materials of the window to rhino. Is there any workflow using RIR example how to do it?
@Japhy

There are several variables to consider.

Lets start with your About info

Are the Materials consistently applied in Revit? Materials can be applied several ways, they are easier to map if all are set via Subcategories.

This simple method bakes the Elements as Blocks with Materials assigned.

Hi @Japhy . thanks for the reply.
Here is my About info
image
I am using a simple script to bring Revit windows to Rhino as attached image below.


Here I am not able to bake the materials of Revit to rhino like glass windows.
Is there anything i can improve on this script.

Please click on the Details in the About dialog. That will give us the Rhino and Revit versions as well.

Try going straight from the Element Filter to the Bake component.

Here it is
image

I tried to bake directly from elements it works but I want to bake through Elfront to avoid copying of model one above the other when I refresh model. I also want to bake Revit objects to diffrent layers in rhino. Is there a way @Japhy .

I think you’ve got it, but is going to depend on how the Revit Elements are materialized.

1 Like

@Japhy . Is there a way to bake revit elements with materials using elefront bake command?
The above example you shared is good for manual baking

I was trying but not able to get the right result.

@Japhy Please help!

If i understand correctly, the easiest way would be to bake (either right click and bake or with content cache) the materials into Rhino and then use their name in your baking process with Elefront.