# Revit dimension replaced with new one when reselect and re-run script

**URL:** <https://forum.dynamobim.com/t/revit-dimension-replaced-with-new-one-when-reselect-and-re-run-script/102588>\
**Category:** Uncategorized\
**Created:** [July 8, 2024, 7:35am UTC](https://forum.dynamobim.com/t/revit-dimension-replaced-with-new-one-when-reselect-and-re-run-script/102588 "2024-07-08T07:35:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinh.VoXVLMG](https://avatars.discourse-cdn.com/v4/letter/v/9e8a1a/32.png) [@Vinh.VoXVLMG](https://forum.dynamobim.com/u/Vinh.VoXVLMG)\
**Post date:** [July 8, 2024, 7:35am UTC](https://forum.dynamobim.com/t/revit-dimension-replaced-with-new-one-when-reselect-and-re-run-script/102588/1 "2024-07-08T07:35:25Z")

</div>

Hi Everyone,

I have created a simple dynamo script for my convenience to create dimension for select objects. But once done, I have selected new set to create dimension, the old, created dimension is replaced with new selected set one.  
Any help please? Thanks.

---

<div class="post-metadata">

**Author:** ![Brendan\_Cassidy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/brendan_cassidy/32/7685_2.png) [@Brendan\_Cassidy](https://forum.dynamobim.com/u/Brendan_Cassidy)\
**Post date:** [July 8, 2024, 7:37am UTC](https://forum.dynamobim.com/t/revit-dimension-replaced-with-new-one-when-reselect-and-re-run-script/102588/2 "2024-07-08T07:37:51Z")

</div>

Have a look at the following post because what you are experiencing does seem to be element binding- [Element Binding in Revit](https://forum.dynamobim.com/t/element-binding-in-revit/31612)
