Hello All,
I want to make a dynamo that changes the location the room that I can see in the current view.
Or I want to make dynamic active only for rooms with specific parameter values.
For example, I only want to get a room with an “A” parameter value of “X”.
Make sure your screenshot is legible before posting. Also be sure to pin all node preview bubbles so we can see your data and provide a copy of any python code so we know what’s going on.
I think there’s already a custom node that will adjust room locations back to the center of the room (if that’s what you’re after). You would just need to filter your room list by matching parameter values first.
Something here May help you, This example was shown on lighting devices and the filtering measure was the element name, but in your case you could use Element.GetParameterValueByName to get the desired parameter values you are trying to filter by and then send that into the keys list.
on the FilterByBoolMask node the “Out” list is everything that doesn’t match the criteria.
the “In” would be a list of room that contains the string “dyn test” in the comments parameter.
This means if you want to get all the rooms that fit that criteria and carry them forward to the next parts of your graph it would be achieved as follows.