# Close duplicate types dialog box

**URL:** <https://forum.dynamobim.com/t/close-duplicate-types-dialog-box/54875>\
**Category:** Uncategorized\
**Created:** [September 7, 2020, 10:27pm UTC](https://forum.dynamobim.com/t/close-duplicate-types-dialog-box/54875 "2020-09-07T22:27:05Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![vanman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vanman/32/20881_2.png) [@vanman](https://forum.dynamobim.com/u/vanman)\
**Post date:** [October 29, 2020, 3:14am UTC](https://forum.dynamobim.com/t/close-duplicate-types-dialog-box/54875/8 "2020-10-29T03:14:51Z")

</div>

I was looking at the below before too. Is the code in the link python? Would it just be put in a python node in your script to close dialogs?

> [@Cant sucessfully implement the IFailuresPreprocessor interface](https://forum.dynamobim.com/t/cant-sucessfully-implement-the-ifailurespreprocessor-interface/50708/3):
>
> hello @ramoon.bandeira you are missing the instance of the class on the method (self), suddenly a parameter is missing from the PreprocessFailures fonction (method) 2 examples of classes with a double wall creation class DuplicateMarkSwallower(IFailuresPreprocessor): def PreprocessFailures(self, a): failures = a.GetFailureMessages() for f in failures: id = f.GetFailureDefinitionId() if BuiltInFailures.OverlapFailures.WallsOverlap == id: a.DeleteWarning(f) return FailureProc…

---

_[View the full topic](https://forum.dynamobim.com/t/close-duplicate-types-dialog-box/54875)._
