Grasshopper removing certain branches of a data tree

Hi
How can I remove certain branches of a data tree as below:
I would like to remove branches 0 and 2

thanks
tree%20data

split tree component

2 Likes

Thank you so much!!!