How do I add a door boundary to a room boundary?

Also look here. It’s is similar to what you wanna achieve.