Excuse me, I want to filter out the empty values of the tree data, and then extract the branch paths of the data and the item data inside according to the structure of the tree data to form two separate lists?
测试项目-3.gh (12.9 KB)
Excuse me, I want to filter out the empty values of the tree data, and then extract the branch paths of the data and the item data inside according to the structure of the tree data to form two separate lists?
Hi,
you can do it like this for lists like the True/False list you provided. For this method you will always need to provide a pattern for the Cull Pattern component.
Or you can use this method from this topic:
Data branches_02.gh (38.7 KB)
This is better to avoid creating a pattern for the Cull Pattern component.
Choose whatever works better for you.
Thank you very much, let me figure out how to eliminate the False value in the branch in the tree data according to the Boolean value, and how to delete the branch in the data data after the False value is eliminated!
Which command is used to display the names of nodes?
It’s the Sunglasses plugin available on food4Rhino
Thank you so much for your suggestion!