Hello, I created a Zone parameter as a shared parameter in my project. I defined this parameter to Rooms and Walls.I want to print the information in the existing Zone parameter in Rooms to the Zone parameter in Walls.I also have objects in Group in my project.The code I created gives an error in the last step can you help me?
what does the error say?
edit: wait, there’s one issue at least. for parameter setter node, ur element list and value list probably have different length.
You’re combining filtered wall data with unfiltered wall data. You filter for types with a specific prefix but then you continue to get data from the original unfiltered list as well - even filtering your filtered list a second time based on the unfiltered data.
You also need to consider walls that have one or more spaces on either side and potentially walls that span multiple floors (although that probably isn’t an issue since you’re using a specific view).
On top of that, you have nothing relating the walls to the rooms. You check the intersection but don’t actually filter anything with that information. How do you know which room is bound by which wall? There are tons of threads that deal with transferring data from rooms or spaces to elements. Try starting with some of those examples and see where you get.