# Coulmns dimension getting null values at last node

**URL:** <https://forum.dynamobim.com/t/coulmns-dimension-getting-null-values-at-last-node/96714>\
**Category:** Revit\
**Created:** [December 28, 2023, 8:48am UTC](https://forum.dynamobim.com/t/coulmns-dimension-getting-null-values-at-last-node/96714 "2023-12-28T08:48:56Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![Ali.Ibrahim](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@Ali.Ibrahim](https://forum.dynamobim.com/u/Ali.Ibrahim)\
**Post date:** [January 4, 2024, 8:48pm UTC](https://forum.dynamobim.com/t/coulmns-dimension-getting-null-values-at-last-node/96714/21 "2024-01-04T20:48:57Z")

</div>

sorry but I didn’t see that you asked me about any node but yes the custom nodes are from genius loci

---

<div class="post-metadata">

**Author:** ![Ali.Ibrahim](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@Ali.Ibrahim](https://forum.dynamobim.com/u/Ali.Ibrahim)\
**Post date:** [January 4, 2024, 8:50pm UTC](https://forum.dynamobim.com/t/coulmns-dimension-getting-null-values-at-last-node/96714/22 "2024-01-04T20:50:27Z")

</div>

It will be of great help if he sees the article here  
@GavinNicholls

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [January 5, 2024, 1:14am UTC](https://forum.dynamobim.com/t/coulmns-dimension-getting-null-values-at-last-node/96714/23 "2024-01-05T01:14:48Z")

</div>

The likely issue is some of your columns are rotated so the named references are not parallel to the intended grid sets. You will need to choose the reference names based on the family rotation which I don’t do in my example.

Scenarios like this are why I avoid dimensioning on the channel. Most dimensioning exercises are very specific, and it takes a _lot of work_ to develop scripts and tools which account for the myriad of possibilities a dimensioning tool could encounter.

If the task is project specific or highly predictable Dynamo is good for dimensioning, otherwise the time/effort balance might justify exploring addins developed towards these tasks more generally.

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [January 5, 2024, 12:36pm UTC](https://forum.dynamobim.com/t/coulmns-dimension-getting-null-values-at-last-node/96714/24 "2024-01-05T12:36:46Z")

</div>

hi, it could be nice to retrieve the grids using a read-only parameter (too bad the relative coordinates are rounded)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/c/dc1f716de6a1251cc206f10767e3e2c4f265cfe4.png)

cordially  
christian.stan

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [January 5, 2024, 9:04pm UTC](https://forum.dynamobim.com/t/coulmns-dimension-getting-null-values-at-last-node/96714/25 "2024-01-05T21:04:24Z")

</div>

hi, you can try (adaptation to be made according to your language on revit) this script  
I used GeniusLoci and Clockwork packages to manage family handorientation  
and a python script to reverse the list of references following the orientation of the familyinstance  
[Forum english 240501.dyn](https://forum.dynamobim.com/uploads/short-url/4ahRgd9QkN7u6AiruTPaVlCZthI.dyn) (58.3 KB)

 ![Forum english 240501_2024-01-05_09-36-06](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/5/457756d8615344efbfac5f2ae1f62e83dd3aef04.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/b/3b4f574338c5f10e8513d373765f94de76bdf380.png)  
python script (definitely improveable)

```auto
import sys
import clr

listref=IN[0]
vec_x=IN[1]
cont=[]
cont2=[]
for i in range(len(vec_x)):
    if vec_x[i]==1 or vec_x[i]==-1:
        cont.append(listref[i])
    else:
        cont2.append(listref[i][1])
        cont2.append(listref[i][0])
        cont.append(cont2)
        cont2=[]

OUT = cont

```

Sincerely  
christian.stan

[Previous page](https://forum.dynamobim.com/t/coulmns-dimension-getting-null-values-at-last-node/96714.md?page=1)
