Creating Assembly views with same name than existing Assembly with Dynamo. How to select option of error


I am creating Assemblies with Dynamo and I found this Revit error that I would like to avoid somehow. It happens when a new assembly is created with the same name than other assembly. Any idea? Thanks in advance


Hey, I think the problem isn’t the duplicate names. The problem is that there is an existing assembly that is exactly the same as the one you just created. Revit does not like duplicate assemblies.

Whatever is the reason you wanted to think about, my intention is just to know how to hit the button delete with dynamo anytime i get the error