I’m trying to pull certain zone parameters (e.g. Cooling Set Point) in order to use in calculations for each space. Fundamentally it seems like I could pull the zone name from each space (assuming the spaces have been assigned to zones) and then use those as keys to reference specific zone parameters and then pull the results as a vector.
That makes sense in theory and I can think of how to do it in R or Python, but I’m still learning dynamo. In there a clean or suggested way to do this?
Got it, works perfectly, thanks! By chance do you know of a way of doing with only native nodes? I’d like to reduce using any packages if possible to make it easier to distribute a script to other people and not have to worry about them installing something.
You could just open the custom node Dictionary.ByKeysValues and then copy/paste the python code into a new python node in your own script. That way the script will work without having to rely on the custom node. But I do suggest getting your users to install a few custom packages (archi-lab, clockwork, springnodes, lunchbox) as a lot of workflows depend on them.