Get names, set tags using GH


Seems like this should be working, but it’s not.

What am I doing wrong?


Hi Dan,
You need to “graph” the P input of the SetProperty component. Actually, I’d “graph” all inputs of that component, to ensure all data that comes into the SetProperty component has the same number of items. As the message indicates, the number of objects, properties, and values connected to the SetProperty component has to the same.
By the way, I don’t understand what you are trying to do in your example. You are assigning the property “name” to referenced walls, but you are giving the same name obtained from these walls…
If you bake that SetProperty component, you will get duplicated walls with the same names.

In case you wanted to change the names of these walls, but not baking the geometry, you could consider using the Update Property component instead:
When you click on the Update Property button, only the property field “name” will change in the referenced walls.