# Conduit Fitting which created is removed after running script for the second time

**URL:** <https://forum.dynamobim.com/t/conduit-fitting-which-created-is-removed-after-running-script-for-the-second-time/99134>\
**Category:** Revit\
**Tags:** python, dynamo, mepover\
**Created:** [March 16, 2024, 8:45am UTC](https://forum.dynamobim.com/t/conduit-fitting-which-created-is-removed-after-running-script-for-the-second-time/99134 "2024-03-16T08:45:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamed.eissaEP3P4](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohamed.eissaep3p4/32/178317_2.png) [@mohamed.eissaEP3P4](https://forum.dynamobim.com/u/mohamed.eissaEP3P4)\
**Post date:** [March 16, 2024, 8:45am UTC](https://forum.dynamobim.com/t/conduit-fitting-which-created-is-removed-after-running-script-for-the-second-time/99134/1 "2024-03-16T08:45:16Z")

</div>

the dynamo script is creating fitting of conduits by using node (MEPFitting.ByMEPCurves) after do that the the fitting is don but to do the for another conduit the previous fitting is removed and create the latest fitting only

the first run script

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

the second run script create new fitting and removed the oldest

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

this the python script how can i edit on it to fix this issue?

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

---

<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:** [March 16, 2024, 8:56am UTC](https://forum.dynamobim.com/t/conduit-fitting-which-created-is-removed-after-running-script-for-the-second-time/99134/2 "2024-03-16T08:56:56Z")

</div>

hello @mohamed.eissaEP3P4 thats element binding, you could run from player for avoid that…or try change this line here to True…

 ![Skærmbillede 2024-03-16 095539](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/9/9910ccd65cd00a1f2ddc19d86b37bbee9a0943b2.png)

---

<div class="post-metadata">

**Author:** ![mohamed.eissaEP3P4](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohamed.eissaep3p4/32/178317_2.png) [@mohamed.eissaEP3P4](https://forum.dynamobim.com/u/mohamed.eissaEP3P4)\
**Post date:** [March 16, 2024, 9:02am UTC](https://forum.dynamobim.com/t/conduit-fitting-which-created-is-removed-after-running-script-for-the-second-time/99134/3 "2024-03-16T09:02:50Z")

</div>

Thank you a lot @sovitek
