Set Intersection for variable amount of branches in list

Hi all,

I’m trying to find the intersections (same numbers present in each set), where each set is a branch in a tree. The amount sets and thus amount of branches will vary in my script, so the set intersection is not directly usable as I need to predefine the amount of set inputs in this component.

Any help would be greatly appreciated,
Thanks!

Set Intersection.gh (9.0 KB)

Hi,

this should be a solution…

Set Intersection_RE.gh (12.6 KB)

2 Likes

Thank you so much :slight_smile: