# Reset/Preset udt memory tag

**URL:** <https://forum.inductiveautomation.com/t/reset-preset-udt-memory-tag/34591>\
**Category:** Ignition\
**Created:** [May 8, 2020, 9:46pm UTC](https://forum.inductiveautomation.com/t/reset-preset-udt-memory-tag/34591 "2020-05-08T21:46:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NII](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nii/32/12920_2.png) [@NII](https://forum.inductiveautomation.com/u/NII)\
**Post date:** [May 8, 2020, 9:46pm UTC](https://forum.inductiveautomation.com/t/reset-preset-udt-memory-tag/34591/1 "2020-05-08T21:46:06Z")

</div>

I have a udt memory tag with a default value and have a few instance of this udt. This tag value changes over time. I’d like to default it back.  
Is there a way to do this without changing it on every instance of it?

Thanks.

---

<div class="post-metadata">

**Author:** ![BryanB](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@BryanB](https://forum.inductiveautomation.com/u/BryanB)\
**Post date:** [May 8, 2020, 10:48pm UTC](https://forum.inductiveautomation.com/t/reset-preset-udt-memory-tag/34591/2 "2020-05-08T22:48:13Z")

</div>

You could create a script that goes through each of the instances and writes to that value. You could just run this from the script console.

---

<div class="post-metadata">

**Author:** ![BryanB](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@BryanB](https://forum.inductiveautomation.com/u/BryanB)\
**Post date:** [May 8, 2020, 10:55pm UTC](https://forum.inductiveautomation.com/t/reset-preset-udt-memory-tag/34591/3 "2020-05-08T22:55:25Z")

</div>

tagList = ["[default]tag1/tagVal", “[default]tag2/tagVal”]  
valueList = [2, 2]  
system.tag.writeBlocking(tagList, valueList)
