This paper tackles the problem of the functional and morphological definition of elementary spaces (in relation to the overall definition of the building object) through the study and the modelization of the designer's knowledge and of the cognitive processes which use it. An interactive automatic system which solves the problem of the placing of objects within a predefined environment is then described. This is the first element in a more general system which is meant as an intelligent aid to building design.