Section Boxes with Rhino inside Revit


Hi all,

I have a great Grasshopper Script that uses Rhino Inside Revit to convert Revit Geometry into Rhino Geometry. It works great for smallish project but we work on massive projects where views have to be limited using the Section Box in Revit.

I know that Rhino Inside Revit does has a component to get the Revit Section Box but I would like only the geometry which has been limited in Revit by the Section box to come through to Rhino.

I have tried using the Section box to trim the geometry but it gets complicated as you need a a different trim for BREPS, Meshes etc.

Any thoughts on an easier way to do this?

I have a screenshot of the Revit model and the GH script that

Please check the below