# Auto dimension to centre of column to closest grid

**URL:** <https://forum.dynamobim.com/t/auto-dimension-to-centre-of-column-to-closest-grid/114041>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [February 27, 2026, 1:30pm UTC](https://forum.dynamobim.com/t/auto-dimension-to-centre-of-column-to-closest-grid/114041 "2026-02-27T13:30:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanchit.dhivare9VAVD](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@sanchit.dhivare9VAVD](https://forum.dynamobim.com/u/sanchit.dhivare9VAVD)\
**Post date:** [February 27, 2026, 1:30pm UTC](https://forum.dynamobim.com/t/auto-dimension-to-centre-of-column-to-closest-grid/114041/1 "2026-02-27T13:30:07Z")

</div>

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.

 ![Center to center DIM_2026-02-27_06-06-40](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/3/c347677ced3ee106cdd5a4f97eb4ca37026fa625.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [February 27, 2026, 3:11pm UTC](https://forum.dynamobim.com/t/auto-dimension-to-centre-of-column-to-closest-grid/114041/2 "2026-02-27T15:11:35Z")

</div>

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](https://forum.dynamobim.com/t/how-to-get-help-on-the-dynamo-forums/4677)

Also, read the tutorial on how to [Export as Image](https://forum.dynamobim.com/t/how-to-export-a-graph-image-correctly/99364) 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.
