Automatic Thermostat tag placement

I am trying to create a script that can tag thermostats. The tag should have the same mark value as the VAV (Variable Air Volume) unit it is serving.

The process I followed includes the following steps:

  1. I listed the mechanical equipment and determined their coordinates.
  2. Now, I am trying to identify the VAV units and thermostats that are closest to each other. This will allow me to set the VAV’s mark value to the corresponding thermostat and automate the tagging process.

Can anyone suggest an efficient way to find the closest VAVs and thermostats and link them together in Dynamo? Any advice or pointers would be greatly appreciated!

Get rid of the List.Create nodes (your outputs are already lists, you’re just adding unnecessary dimensions) and use list levels to get every permutation between points. Then you should be able to get the closest VAV to each thermostat.

Closing your duplicate topic here: Thermostat tag placement

Please refrain from duplicating topics in the future.