# Dimension walls

**URL:** <https://forum.dynamobim.com/t/dimension-walls/47616>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [March 4, 2020, 10:08am UTC](https://forum.dynamobim.com/t/dimension-walls/47616 "2020-03-04T10:08:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![selim.celem](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/selim.celem/32/73146_2.png) [@selim.celem](https://forum.dynamobim.com/u/selim.celem)\
**Post date:** [March 4, 2020, 10:08am UTC](https://forum.dynamobim.com/t/dimension-walls/47616/1 "2020-03-04T10:08:56Z")

</div>

I didn’t realize when I started doing this but; dimensioning with Dynamo is surprisingly complicated!  
After being able to automatically dimension gridlines, I decided to take a look on how to dimension walls in a floor plan.  
I’ve checked out many previous topics about this and decided to work on it myself.  
I feel like I am close since I do get a dimension on the selected model line, but it’s not exactly what I am aiming for since it doesn’t recognize the openings in the face of the wall:

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

Unfortunately, I have no clue on how to use Python yet so this is what the script looks like now:

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/b/fbdc1424d14121ebe3f81664db275bb7588754a5.png)

The .dyn file is included down below:  
[test dim by wall v3.dyn](https://forum.dynamobim.com/uploads/short-url/zaaKKyjaPAbWb3e8VqUZfH03hhW.dyn) (46.8 KB)

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [March 4, 2020, 2:49pm UTC](https://forum.dynamobim.com/t/dimension-walls/47616/2 "2020-03-04T14:49:58Z")

</div>

Hi @selim.celem,

You can simplify your graph with the _Wall Edges References_ node.

 ![Dimension walls and openings](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/2/82a749acfba01ff69a2fd866c5f955b5791be75f.png)  
 ![Dimension walls and openings 2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/2/52bd9d445024b73cb9e5033437561634aa8d248d.png)  
[Dimension walls and openings.dyn](https://forum.dynamobim.com/uploads/short-url/iUA2z44hOBW5MCrAf5Ov4XJPAYQ.dyn) (17.5 KB)

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [March 5, 2020, 12:19am UTC](https://forum.dynamobim.com/t/dimension-walls/47616/3 "2020-03-05T00:19:07Z")

</div>

> [@selim.celem](#):
>
> dimensioning with Dynamo is surprisingly complicated!

I would amend this to: dimensioning in general is quite complicated.

---

<div class="post-metadata">

**Author:** ![selim.celem](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/selim.celem/32/73146_2.png) [@selim.celem](https://forum.dynamobim.com/u/selim.celem)\
**Post date:** [March 5, 2020, 1:11pm UTC](https://forum.dynamobim.com/t/dimension-walls/47616/4 "2020-03-05T13:11:15Z")

</div>

Brilliant mate!

---

<div class="post-metadata">

**Author:** ![selim.celem](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/selim.celem/32/73146_2.png) [@selim.celem](https://forum.dynamobim.com/u/selim.celem)\
**Post date:** [March 5, 2020, 3:52pm UTC](https://forum.dynamobim.com/t/dimension-walls/47616/5 "2020-03-05T15:52:13Z")

</div>

When I try to take more than 1 wall of the same type in an active view with a filter method, the script creates the same amount of dimensions as walls, but all aligned vertically to the first selected wall. Any way to change the script accordingly so it places the dimension lines vertically on all the collected walls instead?

 ![Progress auto dim script](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/f/cfe41039f4248b4cca6c4ed56c442ca77e75b7e8.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/7/c7302a735a78e57df975dd10622f3e087e9bb2de.png)

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [March 5, 2020, 4:20pm UTC](https://forum.dynamobim.com/t/dimension-walls/47616/6 "2020-03-05T16:20:54Z")

</div>

Sorry but your request is unclear and it is good practice to show the previews under the nodes and provide a sample revit file with the graph.  
Your walls can be dimensioned in many different ways. Impossible to help without a screenshot of the expected result.
