Please somebody can help, I do not understand how it works. What kind of logic in the program. before that I worked at Grasshopper and there was a clear understandable structure tree. Explain please if anyone here can work with the data. and I apologize for my English, I hope someone will understand me.

With a nested list structure like that, you’ll need List.Combine to make it work:

Thank you!! It’s work!.. unfortunatly, i don’t understend how( … Could you tell whether it will also work with the more complex nested list structure?
List.FilterByBoolMask applied directly also seems to achieve similar results
The following examples have lists of different depths

However, this won’t work in some cases where the sub list structure/depth is inconsistent.