Adding door openings to roomboundaries of the right room

Hi,

Is there any way to add the door opening to the room boundary of the adjacent room? This seems like a fairly simple task, but I’m having troubles selecting the complete door opening (I can select the door itself, but I’m not getting the entire wall opening). After selecting the opening I would also need to connect this to the right room. Not sure how I can let the script know which side is which.

Any suggestions?

Thanks in advance