# Rename Text Note Type Names (Parameter is Read-Only Error)

**URL:** <https://forum.dynamobim.com/t/rename-text-note-type-names-parameter-is-read-only-error/25248>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [August 28, 2018, 3:09am UTC](https://forum.dynamobim.com/t/rename-text-note-type-names-parameter-is-read-only-error/25248 "2018-08-28T03:09:23Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![archjahzzy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/archjahzzy/32/26144_2.png) [@archjahzzy](https://forum.dynamobim.com/u/archjahzzy)\
**Post date:** [August 28, 2018, 3:09am UTC](https://forum.dynamobim.com/t/rename-text-note-type-names-parameter-is-read-only-error/25248/1 "2018-08-28T03:09:23Z")

</div>

Hi,

I was creating a graph to rename all the placed textnote family types in my project with a different & standardized prefix.

I was getting there but came across the “The parameter is read-only” error. I have looked at the other discussions but haven’t seen the solution.

Do you have any idea how to get this script working? Thank you so much!

![Dynamo%20-%20Can't%20set%20Parameter%20for%20TextNote%20Type%20Name](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/1/b1ead574a764340041fc7f7422773b36749e62e6.jpeg)  
 ![Dynamo%20-%20Can't%20set%20Parameter%20for%20TextNote%20Type%20Name%20Warning](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/d/5d2eeb02a1ddfc10fda5c30bb02f11714b4ac9e3.jpeg)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [August 28, 2018, 3:32am UTC](https://forum.dynamobim.com/t/rename-text-note-type-names-parameter-is-read-only-error/25248/2 "2018-08-28T03:32:40Z")

</div>

Hi @archjahzzy

Use Element.SetName custom node from clockwork package to rename types.

---

<div class="post-metadata">

**Author:** ![saurabh.jha](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/saurabh.jha/32/54425_2.png) [@saurabh.jha](https://forum.dynamobim.com/u/saurabh.jha)\
**Post date:** [August 28, 2018, 3:38am UTC](https://forum.dynamobim.com/t/rename-text-note-type-names-parameter-is-read-only-error/25248/3 "2018-08-28T03:38:07Z")

</div>

Parameter name Should be Type

---

<div class="post-metadata">

**Author:** ![archjahzzy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/archjahzzy/32/26144_2.png) [@archjahzzy](https://forum.dynamobim.com/u/archjahzzy)\
**Post date:** [August 28, 2018, 4:30am UTC](https://forum.dynamobim.com/t/rename-text-note-type-names-parameter-is-read-only-error/25248/4 "2018-08-28T04:30:41Z")

</div>

Hi saurabh.jha… I have tried doing that because I saw it in another forum, but it said no parameter with such name could be found

---

<div class="post-metadata">

**Author:** ![saurabh.jha](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/saurabh.jha/32/54425_2.png) [@saurabh.jha](https://forum.dynamobim.com/u/saurabh.jha)\
**Post date:** [August 28, 2018, 4:34am UTC](https://forum.dynamobim.com/t/rename-text-note-type-names-parameter-is-read-only-error/25248/5 "2018-08-28T04:34:43Z")

</div>

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

example to change all text note to 2.5 arial

 ![a18ee72dfe17fb227da0667311ac4dd7d305ef20](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/9/79bc3d1d57800405c0a32ff87f7826675397604c.png)

---

<div class="post-metadata">

**Author:** ![archjahzzy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/archjahzzy/32/26144_2.png) [@archjahzzy](https://forum.dynamobim.com/u/archjahzzy)\
**Post date:** [August 28, 2018, 4:53am UTC](https://forum.dynamobim.com/t/rename-text-note-type-names-parameter-is-read-only-error/25248/6 "2018-08-28T04:53:37Z")

</div>

Hi Kulkul,

I get this after using Element.SetName from Clockwork…

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

It just gets the original names…

---

<div class="post-metadata">

**Author:** ![salvatoredragotta](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/salvatoredragotta/32/10078_2.png) [@salvatoredragotta](https://forum.dynamobim.com/u/salvatoredragotta)\
**Post date:** [August 28, 2018, 5:00am UTC](https://forum.dynamobim.com/t/rename-text-note-type-names-parameter-is-read-only-error/25248/7 "2018-08-28T05:00:25Z")

</div>

@archjahzzy Have you tried what @Kulkul suggested.It works.

> [@Kulkul](#):
>
> Hi @archjahzzy
> 
> Use Element.SetName custom node from clockwork package to rename types.

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [August 28, 2018, 5:16am UTC](https://forum.dynamobim.com/t/rename-text-note-type-names-parameter-is-read-only-error/25248/8 "2018-08-28T05:16:52Z")

</div>

@archjahzzy You need to feed elements not string.

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

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [August 28, 2018, 10:19am UTC](https://forum.dynamobim.com/t/rename-text-note-type-names-parameter-is-read-only-error/25248/9 "2018-08-28T10:19:28Z")

</div>

@archjahzzy Make sure you connect family types to elements input.

---

<div class="post-metadata">

**Author:** ![archjahzzy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/archjahzzy/32/26144_2.png) [@archjahzzy](https://forum.dynamobim.com/u/archjahzzy)\
**Post date:** [August 28, 2018, 10:21am UTC](https://forum.dynamobim.com/t/rename-text-note-type-names-parameter-is-read-only-error/25248/10 "2018-08-28T10:21:31Z")

</div>

Hi Kulkul, Thank you so much for the help. Your powers are incredible! 😃

---

<div class="post-metadata">

**Author:** ![archjahzzy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/archjahzzy/32/26144_2.png) [@archjahzzy](https://forum.dynamobim.com/u/archjahzzy)\
**Post date:** [August 28, 2018, 10:21am UTC](https://forum.dynamobim.com/t/rename-text-note-type-names-parameter-is-read-only-error/25248/11 "2018-08-28T10:21:48Z")

</div>

Yes, it did work. Thank you!
