List Lacing Trouble

I am trying to check if geometry intersects in a list using longest lacing and was running into some trouble with lists.

I have the following list structure:

My goal is to check list 0, (containing 4 total solids) to see if they intersect with any of the other solids in this list. My list lacing trouble comes into play in that my desired output should of list 0 should only have 4 total sublists in it, the image below has 5 sublists in list 0.

I’ve tried a whole bunch playing with differing lacing and still can’t get my lacing to work. Any ideas on how to accomplish this?

I have a simple model that works on one stack of solids, but I can’t get it to work with lists of solids. Desired output for list 0 shown below:

Does cross product lacing work with and anytrue check afterwards?

This seems to work, but it would be nice to get a more elegant solution to work.

You can use List.Combinations node
image

look here:

codeblock:


and some variations:

also use FirstItem and RestOfItems, if you need check first sublist only.