BuildingSolid Error: Story must have at least one room2D

Hello, I couldn’t still find the right method to deal with it, I also need to identify the elements that are creating the issue. Is there any function that does this and identifies the object that gives the issue, as an example in the picture down I have many objects under Office Solids and some of them are creating the issue, I can identify them with a slider if they are 1 to 40 buildings but I have far more thousands. I searched if there were any functions but couldn’t find them. I would really appreciate your help.