Area boundaries by wall function


#1

hi,

i’m trying to create the area boundaries based on the function of the wall ( all of them except interior walls )
and i don’t know why this is not working, any ideas?

thanks

the error says ; Warning: Warning: List.FilterByBoolMask operation failed.


#2

Have your tried to connect your element collector to the Code Block?


#3

hahaha good one! you got me,

but it is connected and it’s not working.


#4

What’s the error when connected?


#5

Warning: List.FilterByBoolMask operation failed.


#6

Connect the code block and check for null values after connecting. My guess is you have a value of null from the get parameter node.


#7

you are right! but this used to work in 1.3 version of dynamo!


#8

You sure it had the same nulls?

You can use a second test in the same line to return false for the null values.


#9

i restarted it and now it’s working, this is so stupid! i mean the wall selection part works, i have to leave, sorry, i’ll try it later again, thanks for your help


#10

FWIW, I recall that the node you are using to get the parameter values, Element.GetParameterValueByName(TypeOrInstance), used to give me fits like this back in the day. I recall thinking it had something to do with worksharing at the time, but I never definitively figured it out.

In this case you know you will always need a type parameter, so you may get better results by pulling the type and getting the parameter value directly from those objects. May help with reliability.