# Dynamo bug running two similar scripts

**URL:** <https://forum.dynamobim.com/t/dynamo-bug-running-two-similar-scripts/49744>\
**Category:** Civil 3D\
**Created:** [April 24, 2020, 1:30pm UTC](https://forum.dynamobim.com/t/dynamo-bug-running-two-similar-scripts/49744 "2020-04-24T13:30:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bertrand.savarit](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bertrand.savarit/32/103266_2.png) [@bertrand.savarit](https://forum.dynamobim.com/u/bertrand.savarit)\
**Post date:** [April 24, 2020, 1:30pm UTC](https://forum.dynamobim.com/t/dynamo-bug-running-two-similar-scripts/49744/1 "2020-04-24T13:30:40Z")

</div>

Hello everyone,

Newbie with Dynamo for Civil i’m facing a little issue : i have two very similar dynamo scripts that analyse my alignments curves. They are testing my curves radius values and draw polylines to annotate my alignement, each script is using different radius values, different layers and different offset to build the polylines.  
If i run the script in two differents drawing everything is working perfectly but if i run my two scripts on the same drawing the second script replace the polylines that where built by the first one…

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [April 24, 2020, 2:20pm UTC](https://forum.dynamobim.com/t/dynamo-bug-running-two-similar-scripts/49744/2 "2020-04-24T14:20:51Z")

</div>

At first glance, it sounds like element bindings at work. This is an ongoing issue that has been discussed in other threads. See if any of these are similar:

> [@Originally created object disappears when i rerun the script](https://forum.dynamobim.com/t/originally-created-object-disappears-when-i-rerun-the-script/47280):
>
> When 3Dsolid are created from a script they appear just fine, but when the script is rerun the originally created 3Dsolid disappear. Is there a way i can fix this?

> [@Bugs in Player: Bindings and running mode difference](https://forum.dynamobim.com/t/bugs-in-player-bindings-and-running-mode-difference/49147):
>
> Today I discovered two strange behaviors of the Dynamo Player in Civil 3D and I assume they are bugs. I hope anyone can confirm this. A test script is added: [Test\_3Dpoly.dyn](https://forum.dynamobim.com/uploads/short-url/nYOFrdI0KcKPY3RfhsJt3qZH4F2.dyn) (15.6 KB) It places simple texts along a curve that you select. Case 1: I start the Player and edit the input. I can select a polyline and the script places texts next to it as seen below: When I select a second (shorter) line and run the script again, it does not remove all of the previous placed texts, as see…

I think I understand what your graphs are doing, but it would be helpful if you shared them.

---

<div class="post-metadata">

**Author:** ![bertrand.savarit](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bertrand.savarit/32/103266_2.png) [@bertrand.savarit](https://forum.dynamobim.com/u/bertrand.savarit)\
**Post date:** [April 24, 2020, 3:49pm UTC](https://forum.dynamobim.com/t/dynamo-bug-running-two-similar-scripts/49744/3 "2020-04-24T15:49:57Z")

</div>

Thank you it’s exactly the same issue sorry i didn’t found these topics!  
I hope as @Anton_Huizinga that Autodesk will fix it really fast  
I will try the lisp to see if it fixes temporarly the problem.

---

<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:** [April 24, 2020, 10:52pm UTC](https://forum.dynamobim.com/t/dynamo-bug-running-two-similar-scripts/49744/4 "2020-04-24T22:52:37Z")

</div>

FYI @nigel.peters @Nora.Li
