RIR: DirectShapes render dark & Element Materials return Empty

Hi everyone,

I am encountering a issue with DirectShape Type creation via Rhino.Inside.Revit, specifically regarding how materials are processed and displayed. I’ve attached an image that illustrates the problem.

My Setup:

Revit version: Revit 2025

Rhino version: Rhino 8

Rhino.Inside.Revit version: 1.35.9540.6370

The Workflow:
My workflow involves creating DirectShape Types (assigned to the Walls category) from mesh geometry. I fetch a Revit material using Query Materials and plug it directly into the M (Material) input of the Add DirectShape Type component.

The Problem Visualized (see attached image):
I am now adding new elements using the exact same workflow I used for older elements, but the visual result is completely different:

Old successful elements (Top, White Part): This geometry was created previously using this workflow. It displays correctly and looks fine in the Revit viewport.

New failed elements (Bottom, Darker, Greyer Part): This is the newly created geometry. It renders as a dark, heavy grey, causing a clear visual break.

The Catch (The Grasshopper Side):
If I reference these elements back into Grasshopper using a Graphical Element component, Element Materials returns “Empty”: This is the confusing part. The component returns “Empty” for BOTH the old (white) elements and the new (dark) elements.

My Questions:

Why does Element Materials return “Empty” if I am explicitly passing a material into the Add DirectShape Type component? Is it not baking into the faces?

If both the old and new elements technically have “Empty” materials on their faces according to RIR, why is Revit rendering the old ones perfectly and the new ones as dark grey?

Any insights into how DirectShape Types handle mesh shading and material assignment in this scenario would be hugely appreciated. Thanks!

Hi Marc,

Missed this post due to only being in the Rhino.inside forum category, which is a more general category than Rhino.Inside - Revit.

I think we’ll need additional details to be able to properly assist.