# BIM-Based Method for the Verification of Building Code Compliance
## 3 Results
Note that a conversion node was introduced in the Dynamo routine to isolate the area values, as the input for Dynamo had both the area name, value and units (e.g., \"Building area: 141.21 m\({}^{2}\)\" was converted to \"141.21\"). The calculation formulas were introduced in Dynamo and automatically performed to check the building's compliance with the master plan requirements. Results have shown positive feedback for both case studies. The SF building construction site presented a utilisation coefficient of 0.26 (less than the mandatory 3.50), an occupancy rate of 36.07% (less than 60.00%) and a permeable rate of 50.45% (over the minimum limit of 15.00%). The MF building construction site has also been approved with a utilisation coefficient of 2.16 (less than 4.80), an occupancy rate of 37.93% (less than 50.00%) and a permeable rate of 41.87% (less than 70.00%). Front, back and lateral offset: the fifth line of the Dynamo routine concerns the building offset from the site boundaries. With a similar process to the previous indexes, the minimum requirements were given to start the Dynamo routine (Vila Velha's master plan--3.00 m for the front offset, 3.35 m for the back offset and 2.85 m for the lateral offset; Florianopolis master plan--4.00 m for the front offset, 1.50 m for the back offset and lateral offset). Then, the Dynamo routine was adapted to collect the distance between the building facades with the site boundary (defined by the user) and face them with the regulation limits. As presented in Figures 3 and 4, both case studies have been approved for these indexes, as they present the minimum required distances to their boundaries. Slope of ramps: the last index from the municipalities master plans regards the slope of existing ramps, both for pedestrians and vehicles. This analysis is made in the routine sixth line, to check if the model ramps comply with the accessibility requirements. Under the Ramps category within Autodesk Revit, the user must fill the \"slope\" shared parameter in a percentage value, which later will be faced with the established maximum limits through Dynamo. This shared parameter was created in the Autodesk Revit template to facilitate data collection from Dynamo. Once again, both models have been approved for this index. The SF building exterior vehicle ramp (1.39%) and pedestrians' ramp (8.33%) have acceptable slopes, lower than the national limits of 20.00% and 8.33%, respectively. The MF building has also been successfully approved, as the existing vehicle ramp has a 15.00% slope (less than the 20.00% limit). Minimum window area, room area and ceiling height: the last line from the Dynamo routine concerns the building code analysis, namely the minimum window area, room area and ceiling height. This analysis is made by comparing the schedules created by the used template (Figures 6 and 7), with the local minimum requirements of the building code, presented in Figure 8. To perform the analysis, the Dynamo routine checks if the room must be analysed for all the criteria, according to the user selection. Then, Dynamo gets the information of each building room to identify the dimensions and quantity of windows and to find the total window area of each room. The same process is made for the remaining criteria, by identifying the area of each room, as well as the respective ceiling height. Finally, the building results are faced with the building code requirements to check if the building can be approved or not for construction. For the specific SF building case study, all the criteria were accomplished with an exception for the minimum window area, which was not reached in some of the building rooms--the laundry does not have windows, while the minimum requirement is to have at least 0.10 m\({}^{2}\) of windows. The MF building case study has been approved for all the indexes. Note that the Dynamo routine associates the room names with the \"key names\" of Figure 8, so the user must name rooms accordingly.