Curtan System Cut


I am trying to cut a curtain system’s edges with an adaptive generic model. I am able to do it in revit manually but i wanna automate it.

I tried to export as ifc and tried to do it in rhino. I tried with rhino inside. I saw there is a cut geometry component in plugin. Is there way I can automate it.( preferably with rhino.inside)