Create Floor from room boundaries


I am trying to create floors from rooms boundaries from dynamo to revit but i have always the same problem:
They create floor under the column and shear wall that are placed inside the room and not for the total room

How can i solve the problem ?
Thank you


Take a look into this: