## 3 Case Study
### BIM Model of the Building's State of Conservation
#### 3.3.2 Elements for Locating Damage and Inclusion of Shared and Project Parameters  
One element was modelled to locate instances of damage in the model [47], starting with a generic model face-based family template. The geometry modelled has already been used in some examples contained in the book published by the Official College of Surveyors, Technical Architects and Building Engineers of Madrid, \"BIM in Existing Buildings\" [48]. The family generated to locate instances of damage can be seen in Figure 7.  
When editing the family, the shared and exemplar parameters were created, enabling the determination of conservation state of the analysed elements, assessment of the intervention and the dates regarding the repair work carried out. These are saved in a.txt file. Five groups or sets of defined parameters were generated in the documentation before modelling, and the shared parameters of each set were introduced. All the parameters vary depending on the damage; they were therefore entered as exemplar parameters and included in the family. The parameters for state of conservation and assessment of the intervention were grouped in Analysis Results, and the parameters referring to damage repair were included in Other. Figure 8 depicts the process for generating these parameters.  
Among the parameters for assessing damage, one was defined to determine the need for safety measures. It is a parameter of the yes/no type. In the event that measures must be taken, a red crown becomes visible in the family to call attention to the model. To modify the visibility depending on the response marked for this parameter, the elements that comprise the crown were selected, and the visibility was modified from the properties window by activating the visible property and associating the ED Safety Measures family parameter.  
The parameters of the dropdown menu type, with the specific terminology defined in the ITE reports, were nevertheless not defined in the location of the warnings family. These are defined in the project itself through planning tables of the type 'planning table keys for generic models'. These planning tables are designed for the parameters of SC_State of Conservation, SC_Severity of damage and DA_Assessment. When defining the properties of the planning table, a new text-type parameter was generated and grouped so it could appear with the results of the analysis of the properties table. It is important to select the variable values option depending on the exemplar so that these parameters can be defined for each instance of damage. The data rows with keys for specific terminology were added to the table. Figure 9 depicts the creation of dropdown menu parameters using key-type planning tables.  
\begin{table}
\begin{tabular}{c c c c c} \hline \hline
**Parameter Set** & **Parameter** & **Description** & **Hierarchy** & **Type** \\ \hline \multirow{3}{*}{Repairs (RP)} & RP\_Start date of repairs & Start date of repairs & I & Entire \\  & RP\_End date of repairs & End date of repairs & I & Entire \\  & RP\_Repaired & Damage repaired & I & Yes/no \\  & RP\_Repair documentation & Documentation of repair solution & I & URL-PDF \\ \hline \hline \end{tabular}
\end{table}
Table 2: _Cont._  
Figure 7: Family of the element used to locate instances of damage.