Set operation

Hello everyone!

I’m dealing with a set operation and trying to find a way to delete the consecutive set.
If there is any way to do that? Thanks!

Example:

The result I want will be 3 branches:
123
234
456

Many thanks!

This could be one way.


SetOperation_re.gh (8.5 KB)

2 Likes

Thanks for your reply! but it doesn’t work when I got more than one-digit number:(

Check this as well…


SetOperation_rev2.gh (12.1 KB)

1 Like

And yet another way:

unique_sets.gh (20.8 KB)