Upper list is the reference list. I would like to compare with the lower list and find the same value which must fulfill 0 and 1 of the list. Because the length of two lists are different, I use the String.Contains and cross product to loop and compare. You can see there is “true&false”,“false&true”, “false&false”, “true&true”. But I only want to extract true&true and return to the lower list and extract the exact value. Can anyone help me or give me the direction to solve it? Thank you.
Thank you. This is the way i need.
Thank you for your reply. I tried but i checked my result manually and it didn’t match. Do you know why?
@shukyisabrina If I had to take a guess, it’s probably because the data types wouldn’t be equal.
If that’s not the case then I would suggest you share your full graph + sample Revit file so we can take a look at it.
I have solved my problem by following the method suggested from @dylim . Maybe it will take more steps. But at least i got my result. Thank you for your help again.