Element Duplicate repeats same family type

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.


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).

Walls Creation-Family Dup Test.dyn (101.2 KB)

Here is the dynamo Script

See my previous, 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.

Here is the Link for Revit File.

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

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.

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

Yes it works…
I did it for the columns.

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

I dont have Revit 2022, Sharing RVT 2023 File

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

1 Like

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

Walls Creation-Family Dup Edited.dyn (105.2 KB)

image

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

1 Like

@bvs1982
Thankyou Dear

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

1 Like

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