# Rename Family names. by Excel

**URL:** <https://forum.dynamobim.com/t/rename-family-names-by-excel/34647>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [April 10, 2019, 11:01am UTC](https://forum.dynamobim.com/t/rename-family-names-by-excel/34647 "2019-04-10T11:01:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mu\_Jica](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mu\_Jica](https://forum.dynamobim.com/u/Mu_Jica)\
**Post date:** [April 10, 2019, 11:01am UTC](https://forum.dynamobim.com/t/rename-family-names-by-excel/34647/1 "2019-04-10T11:01:41Z")

</div>

Hi all,  
Sometime I have to array same families over and over again.

 ![K-016](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/6/2634a0a064271246ac464835a098c71b7d9331d0.jpeg)

There are same family, but there has different position.  
so I made this graph to distinguish them,

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/7/27c78e268ac036a3c4f4d2ed3762d1eca7b072d1.png)

it contains script like this.  
 ![K-019](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/8/488378e36a7a7b46cfac960fbd09295627c64140.jpeg)  
(This script had the help of a friendly pioneer.)

It can change the names of families by adding one after the family name.  
This is useful.

But What I really want is…  
Load the Excel document and change the name of the family to Excel string.

 ![K-017](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/b/eb629920fc866f3f3cddc7bee35d61a94c5e4eba.jpeg)

I’ve tried several nodes, but I have not found a suitable solution.  
I need your advice.

[Structural Frame, Change Names of families.dyn](https://forum.dynamobim.com/uploads/short-url/8tvVzA1hvQmFk3LCzV0J2VWegIG.dyn) (86.5 KB)

---

<div class="post-metadata">

**Author:** ![hugo.paalman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hugo.paalman/32/64056_2.png) [@hugo.paalman](https://forum.dynamobim.com/u/hugo.paalman)\
**Post date:** [April 10, 2019, 11:23am UTC](https://forum.dynamobim.com/t/rename-family-names-by-excel/34647/2 "2019-04-10T11:23:41Z")

</div>

Hello,

You can use this node to change family names in your project with a string.  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/5/45a491f08817c9fe367900930fa30732d6d40b6b.png)

I used it in a family rename script but you can use excel to rename it

---

<div class="post-metadata">

**Author:** ![Mu\_Jica](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mu\_Jica](https://forum.dynamobim.com/u/Mu_Jica)\
**Post date:** [April 10, 2019, 11:42am UTC](https://forum.dynamobim.com/t/rename-family-names-by-excel/34647/3 "2019-04-10T11:42:20Z")

</div>

Thanks, Hugo.  
But I need some more information to use this node…

 ![Capture2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/5/a52e65486b29145b2f7ea73ad208dea4093efede.png)

[Structural Frame, Change Names of families2.dyn](https://forum.dynamobim.com/uploads/short-url/9X19ikUS1LNn0SI7l7oo4Ot4ZYW.dyn) (98.4 KB)

Am I misunderstanding this node?

---

<div class="post-metadata">

**Author:** ![hugo.paalman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hugo.paalman/32/64056_2.png) [@hugo.paalman](https://forum.dynamobim.com/u/hugo.paalman)\
**Post date:** [April 10, 2019, 11:47am UTC](https://forum.dynamobim.com/t/rename-family-names-by-excel/34647/4 "2019-04-10T11:47:11Z")

</div>

Yes you are using the node correctly.

You put in the families you want to change the name and the new name they need to have.

---

<div class="post-metadata">

**Author:** ![Mu\_Jica](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mu\_Jica](https://forum.dynamobim.com/u/Mu_Jica)\
**Post date:** [April 10, 2019, 11:48pm UTC](https://forum.dynamobim.com/t/rename-family-names-by-excel/34647/5 "2019-04-10T23:48:28Z")

</div>

Thankyou, Hugo.  
I tried this node. but this doesn’t work.  
No errors but 's Not changed.

 ![K-022](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/8/18b4db06b63f22761b76a6f614bee5bcb0e7d89e.jpeg)

I think this is because of some bugs.  
and I found this topic.

> [@Element.SetName not functioning](https://forum.dynamobim.com/t/element-setname-not-functioning/30583/13):
>
> Building this from scratch in 2019 with Dynamo 2.1 (on a daily build today to test some other stuff) and it worked fine for me: As did this: Same results in Revit 2016 with Dynamo 1.3.2.

I’m still don’t figure out this,  
but I’m very thank you for your advise about this node.
