# Dimension string

**URL:** <https://forum.dynamobim.com/t/dimension-string/34209>\
**Category:** Revit\
**Created:** [April 1, 2019, 1:48am UTC](https://forum.dynamobim.com/t/dimension-string/34209 "2019-04-01T01:48:13Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmyneni](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@pmyneni](https://forum.dynamobim.com/u/pmyneni)\
**Post date:** [April 1, 2019, 1:48am UTC](https://forum.dynamobim.com/t/dimension-string/34209/1 "2019-04-01T01:48:13Z")

</div>

Hello Everyone ,

\*I am trying to dimension the building exterior on the building, it is possible to dimension the footprint of the building ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/b/3b34688bb458d26d73513641fb5fd843c418d9f5.png) but i am trying to achieve dimensions in a single string on each side of the building.  
Is it possible?  
Thanks in advance \*

---

<div class="post-metadata">

**Author:** ![pmyneni](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@pmyneni](https://forum.dynamobim.com/u/pmyneni)\
**Post date:** [April 1, 2019, 1:50am UTC](https://forum.dynamobim.com/t/dimension-string/34209/2 "2019-04-01T01:50:10Z")

</div>

Here is the result, I can also update dynamo script and revit file

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

---

<div class="post-metadata">

**Author:** ![pmyneni](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@pmyneni](https://forum.dynamobim.com/u/pmyneni)\
**Post date:** [April 1, 2019, 1:54am UTC](https://forum.dynamobim.com/t/dimension-string/34209/3 "2019-04-01T01:54:52Z")

</div>

Is it possible to achieve the dimension string has shown in the image

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/c/5cdcb478a09bd922f20ae82806d79952f19a8cdc.png)  
Please let me know if it’s possible.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Ewan\_Opie](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ewan_opie/32/77070_2.png) [@Ewan\_Opie](https://forum.dynamobim.com/u/Ewan_Opie)\
**Post date:** [April 1, 2019, 8:35am UTC](https://forum.dynamobim.com/t/dimension-string/34209/4 "2019-04-01T08:35:33Z")

</div>

Hi @pmyneni Welcome to the forum 😀

Totally possible 👍

I recommend having a look at this topic below, and similar ones throughout the forum (there are quite a few on dimensions from elements)

A hint would be to look at your list structures feeding the dimension creation node. 😉

> [@Dimension to wall finished face](https://forum.dynamobim.com/t/dimension-to-wall-finished-face/23906):
>
> Hi I’m trying to dimension to the finished face of 2 parallel walls. If I use the walls as the elements in ‘Dimension.ByElements’ it will do it to the centre line. I don’t want to extract curves and dimension to those as the dimension will not be hosted to the actual walls. I though i could get the face references of the walls and use those but I am getting an error: “Warning: One or more of the input types are not matching. Couldn’t find a version of ByElements that takes arguments of type (…

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [April 1, 2019, 9:03am UTC](https://forum.dynamobim.com/t/dimension-string/34209/5 "2019-04-01T09:03:43Z")

</div>

Another way forward is to use @Alban_de_Chasteigner’s Genius Loci package…

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/2/9283c7a75c8f6fee39a4355c693e9da63d4f92e3.png)

[Dim Wall.dyn](https://forum.dynamobim.com/uploads/short-url/d2K65gzzigyIBlVFDvuRxQq7wso.dyn) (40.2 KB)

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/a/1abb6b16ddf806642cfa013b70883479a8154165.png)

I think this graph works ok for a single dimension, but if you wanted to expand it you would need a ‘line’ for every ‘dimension’… so you need to start grouping sets of lines and walls according to the ones which need to be dimensioned (and ideally auto generating the lines). My graph does a bit of that, but you’d need to go further…

Hope that’s of interest,

Mark

---

<div class="post-metadata">

**Author:** ![pmyneni](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@pmyneni](https://forum.dynamobim.com/u/pmyneni)\
**Post date:** [April 1, 2019, 11:53pm UTC](https://forum.dynamobim.com/t/dimension-string/34209/6 "2019-04-01T23:53:49Z")

</div>

Thanks for the correspondence @Ewan_Opie wan\_Opie  
Previously I tried working on the one you recommended but it dint work well to my sample.  
So tried building it with @Alban_de_Chasteigner’s Genius Loci package but failed with errors, I am still working on it.

---

<div class="post-metadata">

**Author:** ![pmyneni](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@pmyneni](https://forum.dynamobim.com/u/pmyneni)\
**Post date:** [April 2, 2019, 12:00am UTC](https://forum.dynamobim.com/t/dimension-string/34209/7 "2019-04-02T00:00:04Z")

</div>

Thanks a lot for your time Mark.

The script doesn’t work on the sample floor plan as shown in your image. I also tried making simple with 2 parallel walls and a perpendicular reference line, it gives empty list as shown in the below image

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/1/71a7dbb432dc32334fd8d688d4fcaf113606440f.png)  
Could you please check with the image  
Thanks again.

---

<div class="post-metadata">

**Author:** ![pmyneni](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@pmyneni](https://forum.dynamobim.com/u/pmyneni)\
**Post date:** [April 2, 2019, 1:45am UTC](https://forum.dynamobim.com/t/dimension-string/34209/8 "2019-04-02T01:45:52Z")

</div>

I tried to share the revit and Dynamo files but as a new user I am not able to attach any documents.

---

<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:** [April 2, 2019, 5:43am UTC](https://forum.dynamobim.com/t/dimension-string/34209/9 "2019-04-02T05:43:04Z")

</div>

Hi,

Your List.FilterByBoolMask returns an empty list.  
You don’t have a dimensionType called 2.5\_con.  
So look for another dimensionType or connect nothing to the optional DimensionType input of the Dimension.ByReference node.

---

<div class="post-metadata">

**Author:** ![pmyneni](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@pmyneni](https://forum.dynamobim.com/u/pmyneni)\
**Post date:** [April 3, 2019, 2:56am UTC](https://forum.dynamobim.com/t/dimension-string/34209/10 "2019-04-03T02:56:18Z")

</div>

Hi @Alban_de_Chasteigner

Thanks that works.

But the dimensions go random to interior or exterior of the wall whereas I am trying to dimension to the exterior face of the building, I tried switching the “Wall layer reference” node but it still dimensions to random faces of the wall.  
Kindly check the images for better explanation:

 ![image%20(1)](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/4/94b11f411d6f11d0b9e2d2b185c393eff6c5cb81.png)  
 ![image001%20(1)](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/0/40b92f0c44a94294949b8beb35026a6e35a49fba.png)

Please let me know if you have a solution.  
Thanks.

---

<div class="post-metadata">

**Author:** ![pmyneni](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@pmyneni](https://forum.dynamobim.com/u/pmyneni)\
**Post date:** [April 3, 2019, 3:07am UTC](https://forum.dynamobim.com/t/dimension-string/34209/11 "2019-04-03T03:07:37Z")

</div>

I also made sure by coping the floor plans in a empty project to check the issue but I have the same result. I am also attaching the revit sample file, just in case

[Dimensions sample file.rvt](https://forum.dynamobim.com/uploads/short-url/r54ioUELgAvJpPx5qIo86dmcZQD.rvt) (1.6 MB)

Thanks.

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [April 3, 2019, 8:51am UTC](https://forum.dynamobim.com/t/dimension-string/34209/12 "2019-04-03T08:51:40Z")

</div>

Hey,

You need to make sure that all your walls are correctly oriented, then you need to get the Interior Wall Face (as you tried previously)

Hope that helps,

Mark

---

<div class="post-metadata">

**Author:** ![pmyneni](https://avatars.discourse-cdn.com/v4/letter/p/f1d935/32.png) [@pmyneni](https://forum.dynamobim.com/u/pmyneni)\
**Post date:** [April 4, 2019, 2:11am UTC](https://forum.dynamobim.com/t/dimension-string/34209/13 "2019-04-04T02:11:09Z")

</div>

Hello Mark,

Yes, I also tired getting Interior Wall Face and orienting the wall in the right way but it doesn’t dimension to the exterior face of the wall.  
That’s the reason I am puzzled because I worked it on other floor plans and everything looks good but it doesn’t work the way it should.

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