# Scripts not saving

**URL:** <https://forum.dynamobim.com/t/scripts-not-saving/32133>\
**Category:** Uncategorized\
**Created:** [February 14, 2019, 11:32am UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133 "2019-02-14T11:32:20Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmdA5HML](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@tmdA5HML](https://forum.dynamobim.com/u/tmdA5HML)\
**Post date:** [February 14, 2019, 11:32am UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133/1 "2019-02-14T11:32:20Z")

</div>

Hi,

Whenever I open my scripts parts of the code is gone, even though I saved it only minutes earlier. Does anyone know why this happens?

---

<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:** [February 14, 2019, 2:37pm UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133/2 "2019-02-14T14:37:58Z")

</div>

Can you record a screencast of this behavior, and provide what version of the dynamo (and any other software) which you are using?

---

<div class="post-metadata">

**Author:** ![tmdA5HML](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@tmdA5HML](https://forum.dynamobim.com/u/tmdA5HML)\
**Post date:** [February 15, 2019, 8:57am UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133/3 "2019-02-15T08:57:04Z")

</div>

I was using Revit 2018 and Dynamo 2.0.2. I ended up changig to Revit 2019, that solved it. [https://forum.dynamobim.com/uploads/short-url/lpdNrS6f2Ax4gHwS3zIAkCkEDJK.mp4](https://forum.dynamobim.com/uploads/short-url/lpdNrS6f2Ax4gHwS3zIAkCkEDJK.mp4)

---

<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:** [February 15, 2019, 1:29pm UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133/4 "2019-02-15T13:29:53Z")

</div>

@tmdA5HML - Can you please upload the .dyn made by that example? That is indicative of a larger issue, I’m just not sure what.

---

<div class="post-metadata">

**Author:** ![tmdA5HML](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@tmdA5HML](https://forum.dynamobim.com/u/tmdA5HML)\
**Post date:** [February 15, 2019, 2:40pm UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133/5 "2019-02-15T14:40:04Z")

</div>

Of course, the file that I used is attached here.[Test.dyn](https://forum.dynamobim.com/uploads/short-url/77IADMECWMGNwH1DPe1hBlOa3lM.dyn) (2.2 KB)

---

<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:** [February 15, 2019, 2:46pm UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133/6 "2019-02-15T14:46:00Z")

</div>

Interestingly enough, all 3 nodes are there on open for me, but in a somewhat scrambled setup compared to what you showed.

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

Are you seeing any odd messages in the console when you save or open the graph?

---

<div class="post-metadata">

**Author:** ![tmdA5HML](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@tmdA5HML](https://forum.dynamobim.com/u/tmdA5HML)\
**Post date:** [February 15, 2019, 3:06pm UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133/7 "2019-02-15T15:06:15Z")

</div>

That is extremely strange. No, I haven’t seen anything at all. It happened on several scripts and different nodes every time! Are you using Revit 2018 with Dynamo 2.0.2?

---

<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:** [February 15, 2019, 9:42pm UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133/8 "2019-02-15T21:42:32Z")

</div>

Revit anything with Dynamo anything 2.0.

They show up as unresolved in Sandbox too.

---

<div class="post-metadata">

**Author:** ![Joseph.Kirkpatrick](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@Joseph.Kirkpatrick](https://forum.dynamobim.com/u/Joseph.Kirkpatrick)\
**Post date:** [March 5, 2019, 8:37pm UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133/9 "2019-03-05T20:37:31Z")

</div>

I’m also having a similar issue. They work fine in 2019 but in 2018 nodes disappear 😕

---

<div class="post-metadata">

**Author:** ![Joseph.Kirkpatrick](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@Joseph.Kirkpatrick](https://forum.dynamobim.com/u/Joseph.Kirkpatrick)\
**Post date:** [March 5, 2019, 8:43pm UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133/10 "2019-03-05T20:43:05Z")

</div>

Oddly enough, when I open that same file in 2019 it’s just how I left it. But when opening in 2018.3, I’m missing nodes 😕 I tried to attach the file but since it said I’m a new user I’m not allowed to -\_- so if there is another method of sharing just let me know. Thanks.

---

<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:** [March 6, 2019, 8:33am UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133/11 "2019-03-06T08:33:23Z")

</div>

Update to the latest Revit version and of that doesn’t solve it disable your add-ins

---

<div class="post-metadata">

**Author:** ![aharper22](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@aharper22](https://forum.dynamobim.com/u/aharper22)\
**Post date:** [March 21, 2019, 10:07pm UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133/12 "2019-03-21T22:07:04Z")

</div>

I’m having this same issue, but I can’t use Revit 2019 just yet. Is there another way around this other than disabling add-ins?

---

<div class="post-metadata">

**Author:** ![Michael\_Kirschner2](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/michael_kirschner2/32/75576_2.png) [@Michael\_Kirschner2](https://forum.dynamobim.com/u/Michael_Kirschner2)\
**Post date:** [March 21, 2019, 10:12pm UTC](https://forum.dynamobim.com/t/scripts-not-saving/32133/13 "2019-03-21T22:12:30Z")

</div>

if you are using pyRevit, update to the latest version.
