# Element Duplicate repeats same family type

**URL:** <https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [August 23, 2023, 3:58am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110 "2023-08-23T03:58:51Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![180271B3SK2](https://avatars.discourse-cdn.com/v4/letter/1/7bcc69/32.png) [@180271B3SK2](https://forum.dynamobim.com/u/180271B3SK2)\
**Post date:** [August 23, 2023, 3:58am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/1 "2023-08-23T03:58:51Z")

</div>

I had prepared a script to convert CAD lines to Walls. The Script goes well but the only problem I am facing is that the family duplicate or element duplicate node repeats the similar family types, creating a great mess.  
Kindly help me to solve this problem.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/3/a32c50387ed477d7c465c83a3016ee57689e082a.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/e/0eeb61cb4760bd5be570d0f82ccc9b7672634d5c.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:** [August 23, 2023, 7:03am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/2 "2023-08-23T07:03:05Z")

</div>

Are the Walls already differentiated in the CAD?

But here are some suggestions.

**If the Walls are differentiated;**

1. Create the needed Wall Types (as a one off).
2. Group the CAD lines by their propertie(s) (Width) so you can group the Curves.
3. Apply the Wall types to the sorted Groups / Curves.

**Another suggestion;**

Replace the Walls by one Type (Element Ids) and delete the unused ones afterwards.  
_Your graph created Wall Types with the same name, but should have different Element Ids)_

**PS**  
Showing more of your graph of sharing your .dyn would be a great(er) help.

**PPS**  
I noticed it is possible to create a (Family / System) Types with the same name when using Dynamo! Which wouldn’t be possible normally (by duplicating in Revit).

---

<div class="post-metadata">

**Author:** ![180271B3SK2](https://avatars.discourse-cdn.com/v4/letter/1/7bcc69/32.png) [@180271B3SK2](https://forum.dynamobim.com/u/180271B3SK2)\
**Post date:** [August 23, 2023, 7:12am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/3 "2023-08-23T07:12:26Z")

</div>

[Walls Creation-Family Dup Test.dyn](https://forum.dynamobim.com/uploads/short-url/576Z4VZVT5IBP5avQJ3nR36OBRd.dyn) (101.2 KB)

Here is the dynamo Script

---

<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:** [August 23, 2023, 7:19am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/4 "2023-08-23T07:19:06Z")

</div>

See my [previous](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/2), edited, post and see if that would help you.

**PS**  
Please also share your .RVT with the .CAD in it if you can’t resolve the issue with my suggestions.

---

<div class="post-metadata">

**Author:** ![180271B3SK2](https://avatars.discourse-cdn.com/v4/letter/1/7bcc69/32.png) [@180271B3SK2](https://forum.dynamobim.com/u/180271B3SK2)\
**Post date:** [August 23, 2023, 7:42am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/5 "2023-08-23T07:42:54Z")

</div>

> **[Project1.rvt](https://drive.google.com/file/d/166wmOgQTS4_e4PMFhzgGv9Y8n4xwkxhQ/view?usp=sharing)**
>
> Google Drive file.

Here is the Link for Revit File.

---

<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:** [August 23, 2023, 7:50am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/6 "2023-08-23T07:50:43Z")

</div>

I will have a look later, but i hope you try to resolve it it in the meanwhile yourself 😉

---

<div class="post-metadata">

**Author:** ![180271B3SK2](https://avatars.discourse-cdn.com/v4/letter/1/7bcc69/32.png) [@180271B3SK2](https://forum.dynamobim.com/u/180271B3SK2)\
**Post date:** [August 23, 2023, 7:55am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/7 "2023-08-23T07:55:42Z")

</div>

yes I am trying it for last few days but didn’t reached to my solution yet.  
That’s why I am seeking help from forum.

Further, I don’t want to do changes in my Revit or AutoCAD file. I wanted to automate the whole process by using dynamo only.

---

<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:** [August 23, 2023, 7:56am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/8 "2023-08-23T07:56:49Z")

</div>

I get that, but i am pretty sure my suggestions should work.

---

<div class="post-metadata">

**Author:** ![180271B3SK2](https://avatars.discourse-cdn.com/v4/letter/1/7bcc69/32.png) [@180271B3SK2](https://forum.dynamobim.com/u/180271B3SK2)\
**Post date:** [August 23, 2023, 8:03am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/9 "2023-08-23T08:03:07Z")

</div>

Yes it works…  
I did it for the columns.

---

<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:** [August 23, 2023, 8:08am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/10 "2023-08-23T08:08:12Z")

</div>

Í don’t have Revit 2024 yet .  
Is it possible you put the DWG in Revit 2022 (preferably) or 2023 and send that.

---

<div class="post-metadata">

**Author:** ![180271B3SK2](https://avatars.discourse-cdn.com/v4/letter/1/7bcc69/32.png) [@180271B3SK2](https://forum.dynamobim.com/u/180271B3SK2)\
**Post date:** [August 23, 2023, 8:18am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/11 "2023-08-23T08:18:43Z")

</div>

> **[Project1-2023.rvt](https://drive.google.com/file/d/1LFMZDMuLIPdjKQ-dG1ZlNDi41ovg1SFN/view?usp=sharing)**
>
> Google Drive file.

I dont have Revit 2022, Sharing RVT 2023 File

---

<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:** [August 23, 2023, 8:24am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/12 "2023-08-23T08:24:35Z")

</div>

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

To clarify my suggestion. Maybe you need to change the Level and Lacing.

---

<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:** [August 23, 2023, 8:49am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/13 "2023-08-23T08:49:41Z")

</div>

I was at it now anyways, so here you are.

[Walls Creation-Family Dup Edited.dyn](https://forum.dynamobim.com/uploads/short-url/2hQ8Wrsg8Py0DQKhGv32FkGjpSN.dyn) (105.2 KB)

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

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

**PS**  
Try to use OOTB nodes as much as possible. You don’t need Orchid for this Graph in example.

---

<div class="post-metadata">

**Author:** ![180271B3SK2](https://avatars.discourse-cdn.com/v4/letter/1/7bcc69/32.png) [@180271B3SK2](https://forum.dynamobim.com/u/180271B3SK2)\
**Post date:** [August 23, 2023, 9:01am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/14 "2023-08-23T09:01:26Z")

</div>

@bvs1982  
Thankyou Dear

---

<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:** [August 23, 2023, 9:03am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/15 "2023-08-23T09:03:55Z")

</div>

Your welcome, but i also hope you understand what i have done so you can learn from it.

---

<div class="post-metadata">

**Author:** ![180271B3SK2](https://avatars.discourse-cdn.com/v4/letter/1/7bcc69/32.png) [@180271B3SK2](https://forum.dynamobim.com/u/180271B3SK2)\
**Post date:** [August 23, 2023, 9:20am UTC](https://forum.dynamobim.com/t/element-duplicate-repeats-same-family-type/93110/16 "2023-08-23T09:20:30Z")

</div>

Yes I Learned.  
I found my self to be confused in playing with data.  
I mean the use of nodes related to lists etc.
