Revit to Rhino - Sample Grasshopper no longer works

I previously used this Grasshopper sample file to get Revit geometries to Rhino.Inside.Revit.

However, it doesn’t seem to work anymore? Or am I missing something? Both Revit/Rhino are up to date.

I tried to follow the definition from what I could see in Importing geometry from Revit into Rhino (3 of 5) - YouTube

However, I couldn’t get the custom GHPython right.

When copied the code, it gives an error “name B” is not defined. Probably it’s from the line 17. I don’t know Python, so I suppose I’m missing/not understanding something here.

If I try to bake directly from the geometry, nothing happens.
Any help would be greatly appreciated.

I see that I had a wrong “geometry.” It now works with “Elements Parts Geometry.”

1 Like