Filter for and delete all of a specific kind (polysurfaces) from Document

Hi all,

after a baking operation from Grasshopper, I get a mix of curves and polysurfaces

baked_curves = Grasshopper.BakeDataInObject("Final_curve")

(“Final_curve” is a curve element in GH)

I want to delete ALL POLYSURFACES from my document, as I only need the edges.
After that I want to delete all duplicate edges with:


…and join all remaining curves.

How to filter for polysurface elements in a document and delete all of them?

Thanks a lot
Kind Regards
Mr Sinter

SelPolysrf Delete

1 Like

Great!! Works…