Pushing group name to Instance parameter

Hi everyone,

I’ve created this graph that takes the name of the Apartment Model Group and places it into the “Comments” instance parameter. This is so I can tag the apartment groups in plan.
It is working, however, it is copying the name and pushing it to all the model groups highlighed, I assume this is due to the connection of the “set parameter” node back to the start of the graph.
i only want it to replace the apartment model groups that I have filterbybooleanmask. What node am I missing?

Image - “Run” - Group Name is different to Comments Parameter.

I feel like I should know this :upside_down_face: but clearly not.

Thank you for your help.

Find Group Names - Push Name to Parameter.dyn (28.9 KB)

Copy the filter by bool mask node and feed the all elements into that, but leave the mask input as you have it. Then feed that output into the set parameter node.

@staylor

Brilliant, that worked!

I don’t really understand why this action is required. why is it any different from what I did? I’d appreciate it if could you explain for my own understanding.

Thank you.

Your original boolean was filtering the element’s family name list of strings and not the actual elements themselves. Most of the time the original bool is used to filter the elements, but since you are using the family names for an additional process, you have to use 2 bools instead. It’s a very common thing, so don’t worry too much about it. What you have now is the correct way to do what you are wanting.

1 Like