List by boolean mask dereferencing a non pointer

Hi All. Does anyone know whats wrong with this script? It should filter the bars by the boolean mask but its not working

1 Like

@technitutors ,

i used Element.Location+ instead of Rebar.GetCenter… …hmmm

1 Like

Hi @technitutors ,

Can you show us some outputs?

layering.dyn (36.3 KB)
Heres the file. Lists are always a bit of a pain to work with since you want to filter elements by a string list

I think the problem is that the matrix is not the same.


When you flatten it it comes up with 45 outputs when the number of rebars is 38
image