# Auto dimension MEP

**URL:** <https://forum.dynamobim.com/t/auto-dimension-mep/36435>\
**Category:** Revit\
**Tags:** revit, mep, dynamo\
**Created:** [May 27, 2019, 8:14am UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435 "2019-05-27T08:14:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![SPARTAN](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/spartan/32/191306_2.png) [@SPARTAN](https://forum.dynamobim.com/u/SPARTAN)\
**Post date:** [May 27, 2019, 8:14am UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/1 "2019-05-27T08:14:24Z")

</div>

Hi all,

I was looking for a solution to maneuli have to click lodes of nodes. Somthing like this

What i have found was the following topic [How to give automatic dimension from pipe to wall](https://forum.dynamobim.com/t/how-to-give-automatic-dimension-from-pipe-to-wall/30913/3) And i thought this would be verie intresting to use for demensioning mep content.

So i came up whit thise variation:  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/6/f618fab44f8fef6f96faa57801c98a8151120b8e.png)  
only problem it aint dimensioning anithing. I would prefere to chain dimension multipol sprinkler entries. But I need to filter the input (I Think). Becouse if i select now it will select all the fittings, pipes and Sprinklers.

Could some one help me out thx

---

<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:** [May 27, 2019, 10:19am UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/2 "2019-05-27T10:19:20Z")

</div>

Hi @SPARTAN,

It’s difficult to know what you want to dimension without a picture of your elements.  
Here is a quick example :

 ![Dimension%20pipes](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/a/4a31d12a221df8af1706a92ef9bcf9e13689aae8.png)

 ![Dimension%20pipes2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/3/03746fd0c739dda07a3ec9113b8b670b2c6c5ae5.png)

---

<div class="post-metadata">

**Author:** ![SPARTAN](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/spartan/32/191306_2.png) [@SPARTAN](https://forum.dynamobim.com/u/SPARTAN)\
**Post date:** [May 27, 2019, 11:17am UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/3 "2019-05-27T11:17:07Z")

</div>

Good commend! thx 😅

Could you share the dyn file?

Correct me if i’m wrong:  
Will this only work whit walls in the same model?  
Will it dimensnion all the pipes ore just the once in the active view?

Here I have a example of the spinklers and pipe and sprinkler to wall I would like to dimention

I dont think a can fully automate it but semi would be alreaday a big inprovement

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/d/8db6d2bc528708ed684f92fcad7af463b8448518.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:** [May 27, 2019, 11:44am UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/4 "2019-05-27T11:44:32Z")

</div>

You will need to adapt my example to your project.  
You can filter the pipes and walls by view.

If your walls are in a linked model, the Dimensions.ByElements node will not work and you will need to use the Dimension ByReference node.

[Dimension pipes to walls.dyn](https://forum.dynamobim.com/uploads/short-url/d05kc8W8cFRK8CkJ8q6fuGOwEUk.dyn) (33.0 KB)

---

<div class="post-metadata">

**Author:** ![SPARTAN](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/spartan/32/191306_2.png) [@SPARTAN](https://forum.dynamobim.com/u/SPARTAN)\
**Post date:** [May 27, 2019, 1:24pm UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/5 "2019-05-27T13:24:07Z")

</div>

@Alban_de_Chasteigner I will look in to this

Thx a lot for the kick start 😃

---

<div class="post-metadata">

**Author:** ![Olaf\_Kappert](https://avatars.discourse-cdn.com/v4/letter/o/2bfe46/32.png) [@Olaf\_Kappert](https://forum.dynamobim.com/u/Olaf_Kappert)\
**Post date:** [October 16, 2019, 2:38pm UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/6 "2019-10-16T14:38:15Z")

</div>

Which packages are you using for this script Spartan.

Please let me know

---

<div class="post-metadata">

**Author:** ![cwent](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cwent/32/101088_2.png) [@cwent](https://forum.dynamobim.com/u/cwent)\
**Post date:** [August 27, 2020, 8:11pm UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/7 "2020-08-27T20:11:25Z")

</div>

I’m trying replicate this for my project. I am in this case trying to dimension Duct (in my model) to walls that are linked in from an external Revit model. I’ve been able to select the correct walls and duct, but I’m having difficulty getting the dimension node to work. any help would be appreciated!

I’ve attached my current file along with a screenshot below:  
[Vertical Dimensions 2.dyn](https://forum.dynamobim.com/uploads/short-url/u7QbL9rl0fHYaDU9z1g9lz321t1.dyn) (59.3 KB)

 ![Dimensions to Wall](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/3/83a39687d4dad3bc1f89b4508da8700cd462993a.jpeg)

---

<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:** [August 27, 2020, 9:24pm UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/8 "2020-08-27T21:24:05Z")

</div>

Hi William,

Here is an example wit the _Genius Loci_ package:

 ![Dimension ducts and linked walls](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/7/779031768d2fb24c0275459dc4e7f1efa63aab69.png)  
 ![Dimension ducts and linked walls2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/b/6b2cb77b7c3cfc1946b78e74b2306abf6dabc58f.png)  
[Dimension ducts and linked walls.dyn](https://forum.dynamobim.com/uploads/short-url/5EBkG2jrnXsUePotSjDPwZ3EuPJ.dyn) (34.1 KB)

---

<div class="post-metadata">

**Author:** ![cwent](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cwent/32/101088_2.png) [@cwent](https://forum.dynamobim.com/u/cwent)\
**Post date:** [August 28, 2020, 1:21pm UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/9 "2020-08-28T13:21:34Z")

</div>

Thank you so much Alban, that did the trick!

---

<div class="post-metadata">

**Author:** ![bettina.h.andersen](https://avatars.discourse-cdn.com/v4/letter/b/3da27b/32.png) [@bettina.h.andersen](https://forum.dynamobim.com/u/bettina.h.andersen)\
**Post date:** [April 15, 2021, 10:49am UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/10 "2021-04-15T10:49:18Z")

</div>

Hi Alban

I am trying to replicate this for my project.  
But i have to implement the script for a central model, where both the HVAC-model with pipes and ARCH-model are linked models. In that case I am trying to dimension the linked pipes in the HVAC-model to walls in the linked ARCH model. I’am having some difficulty getting the dimension node to work.  
Any help would be appreciated! 🙂

I have attached a screenshot - (i’m not allowed to attach a file at the moment):

 ![Dimension pipes linked and walls linked_002_01](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/d/5da764c1cdade6b28c710b4a2828098f61071102.png)

---

<div class="post-metadata">

**Author:** ![scott55FSX](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@scott55FSX](https://forum.dynamobim.com/u/scott55FSX)\
**Post date:** [January 13, 2022, 11:11pm UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/11 "2022-01-13T23:11:50Z")

</div>

Hi @SPARTAN, were you able to get this tool working for your sprinkler pipe? If so would you be willing to share the .dyn file? 😅

---

<div class="post-metadata">

**Author:** ![SPARTAN](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/spartan/32/191306_2.png) [@SPARTAN](https://forum.dynamobim.com/u/SPARTAN)\
**Post date:** [March 7, 2022, 2:43pm UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/12 "2022-03-07T14:43:23Z")

</div>

Hi, the link shared by @Alban_de_Chasteigner is bases on Clockwork for dynamo and Orchid. I dit not mange to get it working at that point.

---

<div class="post-metadata">

**Author:** ![SPARTAN](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/spartan/32/191306_2.png) [@SPARTAN](https://forum.dynamobim.com/u/SPARTAN)\
**Post date:** [March 7, 2022, 3:05pm UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/13 "2022-03-07T15:05:05Z")

</div>

Hi @scott55FSX,

Unfortunately I did not manage to get it working but if I get it working I will share it off course, like Alban\_de\_Chasteigner did.

---

<div class="post-metadata">

**Author:** ![firre](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@firre](https://forum.dynamobim.com/u/firre)\
**Post date:** [May 17, 2025, 9:16pm UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/14 "2025-05-17T21:16:35Z")

</div>

Hi @SPARTAN, did you manage to get this tool working? Appreciate any respone on this topic

---

<div class="post-metadata">

**Author:** ![firre](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@firre](https://forum.dynamobim.com/u/firre)\
**Post date:** [May 17, 2025, 9:39pm UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/15 "2025-05-17T21:39:03Z")

</div>

Hi @Alban_de_Chasteigner im basically having the same problem as Spartan had, I want to dimension ‘center to center pipes’ and ‘center to center walls and pipes’. The walls are in a linked model." I will use the same picture as spartan as an example cause this is exactly what im trying to accomplish. Also i have replicated a script that you made “but for ducts” i think changing it to pipes maybe will it make it work? Anything you could help me with?

 ![Dimension pipes and linked walls_2025-05-17_11-25-22](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/e/eef09d053ae0481ccb7c3ba9e23aa2b8711dba84.png)  
![8db6d2bc528708ed684f92fcad7af463b8448518|538x500]

---

<div class="post-metadata">

**Author:** ![firre](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@firre](https://forum.dynamobim.com/u/firre)\
**Post date:** [May 17, 2025, 9:59pm UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/16 "2025-05-17T21:59:28Z")

</div>

hi @sovitek, i have been following many of your script and i think you have come far in this topic, would appreciate if you can help or give me some direction 🙂

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [May 18, 2025, 9:44am UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/17 "2025-05-18T09:44:08Z")

</div>

Yeah but first next week, I Can try😀

---

<div class="post-metadata">

**Author:** ![firre](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@firre](https://forum.dynamobim.com/u/firre)\
**Post date:** [May 18, 2025, 9:55am UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/18 "2025-05-18T09:55:14Z")

</div>

Thank you very much for your response!

---

<div class="post-metadata">

**Author:** ![firre](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@firre](https://forum.dynamobim.com/u/firre)\
**Post date:** [May 24, 2025, 1:37pm UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/19 "2025-05-24T13:37:04Z")

</div>

hi @sovitek, have you been able to look at it?

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [May 25, 2025, 4:38am UTC](https://forum.dynamobim.com/t/auto-dimension-mep/36435/20 "2025-05-25T04:38:32Z")

</div>

which revit version are you in ?

[Next page](https://forum.dynamobim.com/t/auto-dimension-mep/36435.md?page=2)
