Subdivide rhino surface in dynamo

Dear all,
I am trying to develop a workflow between rhino and revit whereby flat surfaces are developed in rhino, then subdivided and panelized in dynamo.
I’ve been able to do this on closed surfaces such as lofts, but when I introduce openings to those surfaces or if they are irregular and not rectangles it gets tricky.

As a basic example here is a surface patch made in Rhino. When I bring this surface into dynamo using mantis shrimp,.
There are panels that fall outside of the initial rhino surface, which I’d like to avoid manually deleting.








Is it possible to subdivide this rhino surface in Dynamo?