How to extract any required sub-list and elements from a list?

extract_any_itrms_list.gh (9.7 KB)
Hi ,
I want to extract any desired sub-ists from a list.
For example in the file I have attached,

1.I want to extract
a0
a1
a2
a3
and
e0
e1
e2
e3 . How can I extract it ?

I want to extract a list conatining
c0
c1 . How can I do that ?

Thanks in advance.

Here’s one method:

extract_any_itrms_list_re.gh (10.5 KB)

-Kevin

2 Likes


extract_branches_2023Jan31a.gh (9.4 KB)

Another method:

extract_any_itrms_list_re2.gh (11.3 KB)

-Kevin