I downloaded your dynamo but it looks the same as the one I found in your earlier thread: Script works just fine in a test... not a real project
And this seems Chinese to me
“which patches matched up by testing their centroid points to the room insertion point using the Geometry.ClosestPointTo node, you could merge both into the boundary for the toRoom”