For the attic, after creating a separate floor from the Floor general settings and drawing the attic, create your roof with the roof command on the same floor, then trim the walls above your roof from the top using the cut with roof command from the tools menu.