Subtracted door opening Width from room boundary

Hi , i have a question how to subtract the door opening Width form the inner finish room boundary , i am very appreciated for the help

Show us an attempt so we can help you where you need it. Start with getting the room boundary and the door for a specific room.

Hi Nick ! what i am trying to get is the red lines boundary, mean the innen boundary without door , to be similar to the right picture result in Dynamo

Looks similar to me. What’s the problem?

Hi Nick ! what I have is the whole inner boundary as shown below which is the whole boundary without subtracted the length of the door from it

do I am trying to get the result to be like this picture ( i edited the picture just to explain what I am aiming to get )

You’ll have to get the actual door instance in that room so you know the location. Try looking through the forum for threads relating to room specific elements.