Auto dimension to centre of column to closest grid

I am trying to create script for auto dimensioning from nearest grid to column centre.
Below script works for Two grids only i need solution for multiple grids dimensioning.

Welcome to the forum!

Read through the post below to get some information on how best to structure your topics so that people are more able to help.
How to get help on the Dynamo forums - FAQ - Dynamo

Also, read the tutorial on how to Export as Image to make sure your images are legible for everyone. Be sure to pin the node preview bubble for every node in your graph as well. The more info we have the better.

1 Like