Hello Guys,
I am trying to create dynamo graph to delete duplicated spaces from project/model, but graph is not working properly.
See below image & dynamo graph. Please advice.
Thank you.
Hello Guys,
I am trying to create dynamo graph to delete duplicated spaces from project/model, but graph is not working properly.
See below image & dynamo graph. Please advice.
Thank you.
Hi,
What you want to delete is a “String”. It’s not an “Element”.
-Use ”GetItemIndex” licate after the” DuplicateItemIndices “node.
-”List” entry: “AllElementOfCategory“.
-“Index” entry: “DuplicateItemIndices”(Duplicate / Uniq).
In this way, you select ”Element”
Hello Durmus,
I want to delete duplicated spaces from model.
Refer below image.
Thank you.
@Durmus_Cesur gave you a good answer.
I think it will work.
Give it a try, and show us a picture if it does not work.
Delete the sort node…
Hi,
Can you try “Spring.Doc.DeleteElement” node of the “Spring” pack.
Hello Durmus,
Thank you for your reply.
I try with ‘Springs.Doc.DeleteElements’ but not getting expected result.
Refer below image:
Hello Jonathan,
Thank you for your reply. I delete Sort node but nothing happen.
You should not use the sort node in this case, it will result in the wrong rooms being removed…
ok. Noted.
Thank you
Hi,
The chart you shared does not show a problem.
Shows the “ElementIDs” of the deleted elements and this is what we want. Please check Reviti and you will see it deleted.
Hello Durmus,
You are right. It is showing elements ID’s of deleted elements, But it is deleting few spaces/elements only & other duplicated spaces are still there.
Thank you.
@Jonathan.Olesen recommendations.
The problem is in the chart of the “List Sort” node and delete it from the chart.
Verify that the problem is resolved and mark this issue as resolved.
Hello Durmus & Jonathan,
Thank you for your efforts.
I delete ‘List.Sort’ node & now working perfect.
See final output:
Thank you again for all of you.
Hi nileshkatkar1983in,
Would you be able to upload/share this script? I am interested to see if it would work for us here in our office.
Thanks in advance!
I have uploaded here Dynamo script.
I hope t will be helpful for you.
Delete Duplicate Spaces.dyn (11.7 KB)