# Dimension ByReference with linked walls

**URL:** <https://forum.dynamobim.com/t/dimension-byreference-with-linked-walls/100541>\
**Category:** Revit\
**Tags:** revit, dynamo, package\
**Created:** [April 29, 2024, 2:57pm UTC](https://forum.dynamobim.com/t/dimension-byreference-with-linked-walls/100541 "2024-04-29T14:57:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebasHamminga](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@sebasHamminga](https://forum.dynamobim.com/u/sebasHamminga)\
**Post date:** [April 29, 2024, 2:57pm UTC](https://forum.dynamobim.com/t/dimension-byreference-with-linked-walls/100541/1 "2024-04-29T14:57:10Z")

</div>

We’re creating a workflow to automate some dimensions.  
The script works on files in the document but trying to make it work on linked files is proven to be more difficult.  
I can find the references but Dimension ByReference doens’t seem to work.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/3/1352a31a59755a855c4126c8dce104bbeef429e4.png)  
is there a workaround?

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [April 29, 2024, 6:35pm UTC](https://forum.dynamobim.com/t/dimension-byreference-with-linked-walls/100541/2 "2024-04-29T18:35:51Z")

</div>

@sebasHamminga,

there is a way, BUT be aware when your linked file gets updated, your dimensions will be lost!

---

<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 29, 2024, 6:38pm UTC](https://forum.dynamobim.com/t/dimension-byreference-with-linked-walls/100541/3 "2024-04-29T18:38:57Z")

</div>

Hi @sebasHamminga,

Add the _Convert Linked Reference_ node after the _List.Flatten_ node and before the _Dimension ByReferences_ node.

---

<div class="post-metadata">

**Author:** ![sebasHamminga](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@sebasHamminga](https://forum.dynamobim.com/u/sebasHamminga)\
**Post date:** [April 30, 2024, 7:50am UTC](https://forum.dynamobim.com/t/dimension-byreference-with-linked-walls/100541/4 "2024-04-30T07:50:19Z")

</div>

Thanks for the reply. It’s always a problem when dimensioning linked files, but we do need to do it, and it’s better if we can do it quicker and more precisely

---

<div class="post-metadata">

**Author:** ![sebasHamminga](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@sebasHamminga](https://forum.dynamobim.com/u/sebasHamminga)\
**Post date:** [April 30, 2024, 7:50am UTC](https://forum.dynamobim.com/t/dimension-byreference-with-linked-walls/100541/5 "2024-04-30T07:50:29Z")

</div>

This seems to work. Thanks!
