To produce the damage function of a given building, floodam.building combines the elementary damage functions of the elementary components that form the building by using information on the building characteristics. In this section, we first present the options available to collect the necessary data regarding the building characteristics. In a second part, we explain how the buildings are modelled using these data. In a third part, we indicate how floodam.building computes the damage at the level of a building model. Then, we describe the files in which the building models are defined. We finally describe the outputs produced by floodam.building at the level of the building and provide some commented examples.