Delete elements from a list which exist in another list

Hello everyone
I have two lists named “List A” and “List B” that contains Revit elements. “List B” derives from “List A” and includes some of “List A” 's elements. I need to create a new list named “List C” which contains “List A” 's elements except those exist in “List B” . in other words C = A - B
can anyone help me?
Thank you very much!

Like this?

image

2 Likes

Thank you so much dear Einar, That is what I was looking for but I used Springs.NullSetDifference from springs package instead, Anyway it works correctly.