# Renaming Multiple Family Types

**URL:** <https://forum.dynamobim.com/t/renaming-multiple-family-types/104928>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [October 7, 2024, 5:51am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928 "2024-10-07T05:51:50Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![liamyongging](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@liamyongging](https://forum.dynamobim.com/u/liamyongging)\
**Post date:** [October 7, 2024, 5:51am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/1 "2024-10-07T05:51:50Z")

</div>

Hey gang,

I’m looking to batch rename all my wall types by adding a specific text in front of it all. I’m currently testing it out with 1 wall type, before doing them in batch.

Im stuck at the point after concatenating two strings into one, and feeding it back into revit’s system to register it as a new name.  
Still new to dynamo, and im sure my last node dont make sense.

Hoping to get some clarification.

Kind regards,  
LL

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

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [October 7, 2024, 6:16am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/2 "2024-10-07T06:16:53Z")

</div>

Use the `node +` OR a Code Block with `a+b`  
instead of `String.Concat`.  
A Code Block with `“concrete”+lst` also works.

**PS**  
a and b can be any text you like.

---

<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:** [October 7, 2024, 6:22am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/3 "2024-10-07T06:22:37Z")

</div>

Hi @liamyongging you still need element type for set type name [set.name from clockwork], type name is read-only for instance elements

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [October 7, 2024, 6:24am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/4 "2024-10-07T06:24:33Z")

</div>

> [@sovitek](#):
>
> Hi @liamyongging you still need element type for set type name [set.name from clockwork], type name is read-only for instance elements

Probs just this. Too early yet for me 😴 🤪

---

<div class="post-metadata">

**Author:** ![liamyongging](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@liamyongging](https://forum.dynamobim.com/u/liamyongging)\
**Post date:** [October 7, 2024, 6:33am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/5 "2024-10-07T06:33:04Z")

</div>

hey mate i tried using just the node +, it returns null for some reason…

---

<div class="post-metadata">

**Author:** ![liamyongging](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@liamyongging](https://forum.dynamobim.com/u/liamyongging)\
**Post date:** [October 7, 2024, 6:33am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/6 "2024-10-07T06:33:43Z")

</div>

Apologies for the inconvenience again with this… what can i do if i dont have set.name as part of my clockwork package \* cries \*

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/f/0f6e9cb13ef3d0e1e476a98e847d004eddbb1404.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:** [October 7, 2024, 6:34am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/7 "2024-10-07T06:34:33Z")

</div>

which revit version are yoi in ?

---

<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:** [October 7, 2024, 6:40am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/8 "2024-10-07T06:40:07Z")

</div>

and if you miss some clockwork nodes then its probably becourse you have some other package there give conflicts…do you have bakery installed for exemple ? do you see it if you browse manuelly ? try go clockwork-revit-elements-element

 ![Skærmbillede 2024-10-07 084256](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/c/0c01c53e2c9629c33cf76a25bf6ad4dd1c26a8c4.png)

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [October 7, 2024, 6:48am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/9 "2024-10-07T06:48:48Z")

</div>

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

You forgot this and what @sovitek said.

---

<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:** [October 7, 2024, 6:51am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/10 "2024-10-07T06:51:59Z")

</div>

yeah true;) but dont think it will work anyway…for set type name clockworks node is the way to go 😉

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [October 7, 2024, 6:52am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/11 "2024-10-07T06:52:26Z")

</div>

Thats what i said 😘.

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

I believe Element.SetName may work too.

**FYI**  
`String.Concat` just combines all the Strings in one List.

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

You can do it with `String.Concat`, but you have to jump through a lot more hoops then.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/3/534988d70b147344caf5ee48b3b0e1a9a670624b.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:** [October 7, 2024, 6:53am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/12 "2024-10-07T06:53:32Z")

</div>

orhhh yea to early for me as well 😉 😉

---

<div class="post-metadata">

**Author:** ![liamyongging](https://avatars.discourse-cdn.com/v4/letter/l/258eb7/32.png) [@liamyongging](https://forum.dynamobim.com/u/liamyongging)\
**Post date:** [October 9, 2024, 11:20pm UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/13 "2024-10-09T23:20:57Z")

</div>

Thank you legends @sovitek@bvs1982. Ive got the clockwork node going and it works now 🙂

- is the way to go. String.concat does look too much hurdle.

[Batch Rename Elements.dyn](https://forum.dynamobim.com/uploads/short-url/jaOQz5GY9DAJwLz95iLLMMP1cUF.dyn) (36.6 KB)

---

<div class="post-metadata">

**Author:** ![bvs1982](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bvs1982](https://forum.dynamobim.com/u/bvs1982)\
**Post date:** [October 10, 2024, 7:57am UTC](https://forum.dynamobim.com/t/renaming-multiple-family-types/104928/14 "2024-10-10T07:57:57Z")

</div>

Can you mark the best answer as a solution? ✅  
So other people know it has been solved.
