The whole structure has a weight to which the mass of doors, frames, ceiling, etc. is added. If the material has already been selected, they know the size of the area and its density (selected from the tables in a special directory or on the Internet), then they independently calculate. Also, when calculating the load, the approximate weight of furniture and household appliances are taken into account.