Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

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

$
0
0

@Mr_Sinter wrote:

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:

rs.Command("_SelDup")
rs.Command("_Delete")

..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

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles