Changing the wall location line

I’m trying to create a node that will let me select walls with a certain Location Line (for example Wall Centerline), and change that to for example Core Centerline.

I thought it would be really easy but it doesn’t work. I guess I need to change the list somehow…
There’s a previous post about it, but the solution isn’t posted (http://dynamobim.org/forums/topic/changing-wall-location-line/).

Any ideas?

1 Like

Try changing the “1” in the code block to an integer (Remove " ")

2 Likes

Same with the “0” which should be 0 - the values want integers not strings.

Thanks for the responses! I’ve changed both of them to integer and the filter part is now working, but it won’t add the new zero value (and change the Location Line to Wall Centerline).

Try null, and other number values (1,2,3,4,5) to see if there is another working value.

You’re filtering the parameter value instead of the element so you’re not actually setting the Location Line for anything. The list input for FilterByBoolMask should be the list of elements.

2 Likes

Great catch @Nick_Boyts!

Try this @everi:

1 Like

Thanks a million!

I had the feeling I was messing up on something really basic… :smile: