# Change Wall Type Names using Excel

**URL:** <https://forum.dynamobim.com/t/change-wall-type-names-using-excel/68844>\
**Category:** Revit\
**Created:** [October 4, 2021, 10:49am UTC](https://forum.dynamobim.com/t/change-wall-type-names-using-excel/68844 "2021-10-04T10:49:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hido\_Yalci](https://avatars.discourse-cdn.com/v4/letter/h/46a35a/32.png) [@Hido\_Yalci](https://forum.dynamobim.com/u/Hido_Yalci)\
**Post date:** [October 4, 2021, 10:49am UTC](https://forum.dynamobim.com/t/change-wall-type-names-using-excel/68844/1 "2021-10-04T10:49:47Z")

</div>

Hello,

I’m trying to change the Type Names of Walls and the ‘‘Element.SetParameterByName’’ gives an error. I’m using Excel as an input for the new Type Names. How do I solve this error? Using Revit 2020/ Dynamo version 2.3.1

 ![2021-10-04_12h29_11](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/e/1e85acf653cba4414d3528d60e684b58754c38bb.png)  
 ![2021-10-04_12h44_50](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/0/f0fa55ed18e1e6bc26256b64720406881c98509a.png)

---

<div class="post-metadata">

**Author:** ![honeyjain619](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/honeyjain619/32/121215_2.png) [@honeyjain619](https://forum.dynamobim.com/u/honeyjain619)\
**Post date:** [October 4, 2021, 10:54am UTC](https://forum.dynamobim.com/t/change-wall-type-names-using-excel/68844/2 "2021-10-04T10:54:26Z")

</div>

Hello @Hido_Yalci  
You are providing string as an input, you need to provide family type.

 ![1e85acf653cba4414d3528d60e684b58754c38bb](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/6/969589c928eacd46ecceec7d7ff042f93bf7d775.png)

and if you wanted to change name of only 2 family type then you can delete other family type from excel. (So list in column A and list column C contains equal number of items)

---

<div class="post-metadata">

**Author:** ![Hido\_Yalci](https://avatars.discourse-cdn.com/v4/letter/h/46a35a/32.png) [@Hido\_Yalci](https://forum.dynamobim.com/u/Hido_Yalci)\
**Post date:** [October 4, 2021, 11:01am UTC](https://forum.dynamobim.com/t/change-wall-type-names-using-excel/68844/3 "2021-10-04T11:01:34Z")

</div>

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

Still getting an Error. I used two elements as an example. But I need to change more than two.

---

<div class="post-metadata">

**Author:** ![honeyjain619](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/honeyjain619/32/121215_2.png) [@honeyjain619](https://forum.dynamobim.com/u/honeyjain619)\
**Post date:** [October 4, 2021, 11:06am UTC](https://forum.dynamobim.com/t/change-wall-type-names-using-excel/68844/4 "2021-10-04T11:06:33Z")

</div>

Hello @Hido_Yalci ,

You need check your input excel file, Dynamo is not reading other data

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

---

<div class="post-metadata">

**Author:** ![Hido\_Yalci](https://avatars.discourse-cdn.com/v4/letter/h/46a35a/32.png) [@Hido\_Yalci](https://forum.dynamobim.com/u/Hido_Yalci)\
**Post date:** [October 4, 2021, 11:16am UTC](https://forum.dynamobim.com/t/change-wall-type-names-using-excel/68844/5 "2021-10-04T11:16:47Z")

</div>

That is because I didn’t put new Type Names as input. I don’t think thats the problem. I’ve changed the Excel and still having problems.

 ![knip2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/5/05aa55316a885d2bfeb2c5ba91fe5ad4e3f7fcb3.png)  
 ![knip3](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/f/7ff2a80d9b901a2651103eda39d1d751f22cca3c.png)

---

<div class="post-metadata">

**Author:** ![honeyjain619](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/honeyjain619/32/121215_2.png) [@honeyjain619](https://forum.dynamobim.com/u/honeyjain619)\
**Post date:** [October 4, 2021, 11:31am UTC](https://forum.dynamobim.com/t/change-wall-type-names-using-excel/68844/6 "2021-10-04T11:31:03Z")

</div>

Hey @Hido_Yalci ,

you are using wrong node, In place of “SetParameterByName” use “Element.SetName” for renaming the family type name. this is from clockwork v1.0.3 package

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

---

<div class="post-metadata">

**Author:** ![Hido\_Yalci](https://avatars.discourse-cdn.com/v4/letter/h/46a35a/32.png) [@Hido\_Yalci](https://forum.dynamobim.com/u/Hido_Yalci)\
**Post date:** [October 4, 2021, 11:39am UTC](https://forum.dynamobim.com/t/change-wall-type-names-using-excel/68844/7 "2021-10-04T11:39:06Z")

</div>

![knip4](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/5/35f111fb98c6daea4f40e4724c2049ebf01b79b2.png)

Didn’t get any errors but the Type Names hasn’t changed for both elements.

---

<div class="post-metadata">

**Author:** ![honeyjain619](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/honeyjain619/32/121215_2.png) [@honeyjain619](https://forum.dynamobim.com/u/honeyjain619)\
**Post date:** [October 4, 2021, 11:43am UTC](https://forum.dynamobim.com/t/change-wall-type-names-using-excel/68844/8 "2021-10-04T11:43:00Z")

</div>

Add these 2 nodes before “element.SetName” and check

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

---

<div class="post-metadata">

**Author:** ![Hido\_Yalci](https://avatars.discourse-cdn.com/v4/letter/h/46a35a/32.png) [@Hido\_Yalci](https://forum.dynamobim.com/u/Hido_Yalci)\
**Post date:** [October 4, 2021, 11:45am UTC](https://forum.dynamobim.com/t/change-wall-type-names-using-excel/68844/9 "2021-10-04T11:45:03Z")

</div>

Yes! Fixed the problem thank you @honeyjain619
