# Rename text note type name

**URL:** <https://forum.dynamobim.com/t/rename-text-note-type-name/59307>\
**Category:** Revit\
**Created:** [January 14, 2021, 6:36pm UTC](https://forum.dynamobim.com/t/rename-text-note-type-name/59307 "2021-01-14T18:36:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![franki](https://avatars.discourse-cdn.com/v4/letter/f/71c47a/32.png) [@franki](https://forum.dynamobim.com/u/franki)\
**Post date:** [January 14, 2021, 6:36pm UTC](https://forum.dynamobim.com/t/rename-text-note-type-name/59307/1 "2021-01-14T18:36:36Z")

</div>

Hi,

I have created a script to rename all the placed text note family types in my project with a different & standardized prefix.

I used Clockwork and Data Shapes and it seems working on Dynamo environment. However, the changes are not applied to Revit, in fact, the Watch node at the of the script it returns ‘false’. It works pretty well without Data Shapes nodes (UI) but I would like to be able to create a user-friendly interface with the possibility to insert whatever text.

Any ideas or suggestions about why the changes are not applied to Revit even if the script works?

Thank you all

 ![Rename_TextNote](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/c/dcffbabc78b13790d7bb62710966ac391acd2600.png)

---

<div class="post-metadata">

**Author:** ![AmolShah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amolshah/32/103244_2.png) [@AmolShah](https://forum.dynamobim.com/u/AmolShah)\
**Post date:** [January 14, 2021, 7:25pm UTC](https://forum.dynamobim.com/t/rename-text-note-type-name/59307/2 "2021-01-14T19:25:19Z")

</div>

Hi @franki ,  
Welcome to the Dynamo community.  
It might be because of a mismatch between the list structure for the element & name input.  
Try throwing in a flatten node as shown

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/0/80eb998d4264a818cbce735f0b1eceff79ad2ccb.png)

---

<div class="post-metadata">

**Author:** ![franki](https://avatars.discourse-cdn.com/v4/letter/f/71c47a/32.png) [@franki](https://forum.dynamobim.com/u/franki)\
**Post date:** [January 14, 2021, 7:25pm UTC](https://forum.dynamobim.com/t/rename-text-note-type-name/59307/3 "2021-01-14T19:25:47Z")

</div>

Issue found. The connection in the .dyf of Data Shapes package were not in the right place 🙂 Now everything works perfectly

---

<div class="post-metadata">

**Author:** ![jkrlos02](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@jkrlos02](https://forum.dynamobim.com/u/jkrlos02)\
**Post date:** [April 12, 2022, 9:53pm UTC](https://forum.dynamobim.com/t/rename-text-note-type-name/59307/4 "2022-04-12T21:53:34Z")

</div>

Hi Franki, any chance that you can share this script please? I’m knew to Dynamo, I tried copying it from your image but I cannot find TextBox Data or MultipleInputForm ++
