Rename duplicate marks

Hey All,

I’m trying to create a flow that is changing the duplicate marks so I can eliminate revit warnings. I know there are addons out there but I want to solve it with dynamo, the solution is close :slight_smile:

So far I am able to rename duplicate marks by selecting the second item in the list (1;) and add a suffix. But what is happening when there are multiple items with the same mark? This is where I have stuck and any of my try failed. Some help would be appreciated :slight_smile:



Something like this?


Thanks Marcel,

It was working for merging the random number with the Mark value, but was only doing the first item (the second markup in my previous post)
I have modified the whole structure, now it is simpler and it just clears the additional mark values and keeps the original.
Works fine.

Thanks for the efforts.

Duplicate mark values.dyn (12.4 KB)