How to turn Revit Face into GH Surface

Hi I get a bunch of Revit Face objects from Host Faces in RIR Gh, how can I turn these Revit Faces into grasshopper Surfaces?

Felt like a really simple task but I am missing something. I also can’t find any previous post with the same problem. Thanks.
Revit 2022, Rhino 7 SR31

In general you can cast a Revit Face to a Surface like so…

There will be cases where Revit Face Reference will not cast to surfaces.

1 Like

I tried this but the trim information s lost

Here’s a way to get either the boundary profile or a particular trimmed surface.


re_wall-boundary.gh (9.0 KB)

1 Like

Thanks. A little detour

Hi @lmnoc1,

The problem is that Revit face does not map well to Grasshopper Surface.
Revit faces may have more than one external loop, while not in Grasshopper.
So the conversion to Brep gives you a Brep/Polysurface with all the surfaces included in the Revit Face, while the Surface gives you an untrimmed Surface that overlap with the original Revit face and have same parameterization.

See this case.

Yeah figure out the BREP after trying every nodes. I suggest creating a seperate node with better naming in new updates, cuz this features is quite hidden