Hi all,
I am facing a problem with filtering my list.
As shown, Element.GetMaterials results in empty lists for some elements e.g.: for wall foundation 738479.
I want to remove this element with empty list from list #1. I tried using List.Clean then filtering the #1 list by bool mask but failed, probably because i’m feeding it a list of materials rather than a list of booleans.
I’m sorry if my explanation was not clear enough. After eliminating the empty list, I want to get only the elements corresponding to Materials in list #3 only, so that element at index 1 in list #1 is removed.