Troubleshooting copying of doors: Issues with Door Type Changes and Deletions

Hi I am in the process of bug fixing a dynamograph which is very troublesome… The script copies walls, doors, and windows from an architectural model and changes the type to unclassified acoustic walls, doors, and windows. I have a problem that some of the doors do not want to change type and get deleted. Where doors do not want to change type I get the error message “object is not cutting anything.”. It seems that this happens where the door is close to another wall or the wall is a bit short. I have run out of ideas as to how to bypass this problem in Dynamo. Any ideas are greatly appriciated! :smile:

I have tried:
-changing wall thickness all the way down to 40mm (to have more surface for the doors)
-changing door size all the way down to small squares
-other nodes for copying from link
-deleting the doors and placing new ones at the same coordinates (could not get this to work)
-various other small adjustments

Illustrations:

I actually found a solution. Its not perfect, but works for my purpose.

The solution is to essentially insert new doors at the same location as the old ones, then delete the old doors.