Compliance inspection of a building, which involves following legislated rules during the design phase of a project, is a manual, time-consuming, error-prone and labour-intensive process that primarily relies on two-dimensional drawings. Innovations brought about by building-information-modelling (BIM) lead up to the automatic compliance inspection of buildings with the relevant regulation. The BIM model of a building, contained within the industry-foundation-classes (IFC) data file, includes all pertinent geometric and semantic three-dimensional data of that building. Using these IFC files, a program, intended for use in municipalities in Turkey but applicable elsewhere, has been developed that automatically inspects the compliance of the building with area parking regulations. This study presents the program's development as well as test results in its use. The program successfully simplifies the compliance inspection process by determining the size of the required parking area, as well as the number of spaces to be available, according to Turkish parking lot regulations for residential buildings, and setting controls accordingly. The program is yet to be implemented commercially, however, the program can be a tool that provides convenience and speed to stakeholders, including architects and engineers, during both the design and control stages while also minimising the error rate.