# Issue to duplicate types of Family from Excel

**URL:** <https://forum.dynamobim.com/t/issue-to-duplicate-types-of-family-from-excel/79861>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [August 14, 2022, 12:12pm UTC](https://forum.dynamobim.com/t/issue-to-duplicate-types-of-family-from-excel/79861 "2022-08-14T12:12:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamed.farag622DK](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@mohamed.farag622DK](https://forum.dynamobim.com/u/mohamed.farag622DK)\
**Post date:** [August 14, 2022, 12:12pm UTC](https://forum.dynamobim.com/t/issue-to-duplicate-types-of-family-from-excel/79861/1 "2022-08-14T12:12:23Z")

</div>

Hello there;  
I’m trying to create a Script to to duplicate types of Family from Excel ,but I faced issue FamilyType.Duplicate as shown doesn’t read any value except first item  
What wrong with this node “FamilyType.Duplicate”

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/1/9163cd70812acae464e974da94ce0248f2d88f1d.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:** [August 14, 2022, 12:24pm UTC](https://forum.dynamobim.com/t/issue-to-duplicate-types-of-family-from-excel/79861/2 "2022-08-14T12:24:59Z")

</div>

Hello @mohamed.farag622DK …try something here,

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

and be sure you have unique names

---

<div class="post-metadata">

**Author:** ![SeanP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/seanp/32/42560_2.png) [@SeanP](https://forum.dynamobim.com/u/SeanP)\
**Post date:** [August 14, 2022, 3:47pm UTC](https://forum.dynamobim.com/t/issue-to-duplicate-types-of-family-from-excel/79861/3 "2022-08-14T15:47:15Z")

</div>

Looks like you should be using Index 1 for family, and Index 2 for type based on what I can see.

As @sovitek notes, all the names have to be unique, at least in the same family.
