Abstract
Building permit approval remains one of the most time-consuming and inconsistent processes in the Architecture, Engineering, and Construction (AEC) industry, requiring designers and municipal reviewers to manually interpret planning regulations and building codes. This paper presents CODE-COMPANION, an AI-assisted computational framework that transforms natural-language regulations into structured, machine-readable rules and evaluates them deterministically within Building Information Modeling (BIM) environments. The framework formalizes selected regulatory requirements as deterministic computable rules and connects these rules to geometric and parametric information derived from the architectural model. The checking workflow was initially prototyped in Rhino 8 SR29 (v8.29.26063.11001) using Grasshopper (build 8.29.26063.11000) and subsequently implemented in Autodesk Revit 2026.4 using Python 3.13.12 and pyRevit 6.1.0 to provide interactive design-time compliance feedback. Validation was conducted using a real-world case study in Kadikoy, Istanbul, where two alternative building designs were assessed under identical parcel-specific regulations. The prototype successfully identified compliance violations, highlighted non-compliant elements within the 3D model, and generated explainable pass/fail results reporting the evaluated rule, measured value, and governing threshold. By providing continuous, real-time regulatory feedback during design, the framework transforms compliance checking from a post-design verification task into a proactive design-support process, enabling architects to resolve issues early, evaluate design alternatives more efficiently, reduce redesign iterations, shorten permitting time, and make more informed decisions. The results demonstrate that a substantial proportion of deterministic permit regulations can be evaluated automatically while discretionary regulations remain under human judgement.
1. Introduction
The research addresses one of the major challenges within the Architecture, Engineering, and Construction (AEC) industry: the complexity and inefficiency of building permit approval processes. Currently permitting workflows require architects, engineers, developers, and municipal authorities to manually interpret planning regulations, zoning documents, and building codes. These processes are often time-consuming, inconsistent, and difficult to audit [1,2,3]. Although Building Information Modeling (BIM), digital permitting initiatives, and automated compliance checking technologies have advanced considerably [4,5,6], transforming natural-language regulations into computable and reusable digital representations remains a major barrier to widespread implementation [7,8,9,10].
The initial phases of the research investigated Digital Building Permit (DBP) systems, BIM-based compliance checking approaches, and the potential role of Artificial Intelligence (AI) in supporting regulatory interpretation [11]. Attention was given to the capabilities of Large Language Models (LLMs) and other AI technologies for translating planning regulations into executable logic [12,13,14,15,16]. Early experiments demonstrated that AI could successfully interpret regulatory text and generate computational rules for building height, setbacks, floor area calculations, road clearances, roof geometry, room requirements, and window-to-wall ratios. However, these experiments also revealed important limitations in reliability, consistency, traceability, explainability, and reproducibility. Direct generation of executable code from regulations proved difficult to validate and highly dependent on prompt formulation [17,18,19].
The reviewed literature indicates that CODE-COMPANION builds on several well-established research directions rather than introducing an entirely new category of automated compliance checking. Deterministic BIM-based rule checking, semantic and machine-readable representation of regulatory requirements, configurable rule structures, model-linked issue reporting, and the continued need for expert validation of regulatory interpretation have all been addressed in previous academic and commercial work. Building on these foundations, the present study focuses on their integration within a coherent regulatory workflow that explicitly distinguishes between objectively computable requirements and provisions requiring professional interpretation. In this respect, CODE-COMPANION extends existing work by combining regulatory formalization, human validation, deterministic design-time checking, explainable feedback, and implementation across different architectural authoring environments within a single methodological framework, while positioning AI as an assisting technology rather than an autonomous regulatory decision-maker. Instead of functioning as an autonomous decision-making system [20,21], AI is positioned as a drafting assistant that generates structured rule definitions, which are subsequently validated through deterministic procedures and human review. The regulatory requirements included in the present study were interpreted and formalized by the authors rather than generated autonomously through a large language model. Once encoded, the corresponding measurements, comparisons, conditional operations, and compliance outcomes are executed through explicit computational logic.
A central contribution of the research is the development of a formal rule representation framework [22,23]. Regulatory requirements were transformed into structured computational rules consisting of identifiers, measurable variables, threshold values, units, descriptions, and executable logical expressions. This formalization separates regulatory knowledge from software implementation, allowing rules to be maintained, updated, validated, and reused independently of the compliance-checking engine. Eighteen permit-related regulations were formalized, including maximum building height, storey count, front, side and rear setbacks, building width and depth limitations, maximum buildable area, window-to-wall ratios, stair dimensions, roof slopes, basement restrictions, and accessibility requirements.
Building upon this rule base, a computational workflow was developed to automate compliance evaluation [24,25,26,27,28]. The workflow begins with extracting parcel boundaries, site information, building geometry, floor slabs, roofs, walls, windows, stairs, and ramps. These elements are converted into measurable parameters corresponding to the formalized rule definitions. A deterministic rule engine evaluates each parameter against predefined regulatory thresholds and generates pass/fail outcomes together with measured values and allowable limits. This approach establishes a transparent and reproducibdates to the rule database rather than modifications to the software architecture. Google Gemini 3.6 Flash was used during software development as an implementation aid when translating portions of the previously established computational workflow into Python code for execution through pyRevit. This use is distinct from the regulatory formalization methodology itself: the LLM did not define the eighteen regulatory rules, determine regulatory thresholds, or participate in runtime compliance decisions.
The first implementation was developed within the Rhino and Grasshopper environment, where rules were translated into computational logic and integrated into a real-time design-support workflow. The system continuously evaluates project proposals, automatically identifies non-compliant conditions, and visually highlights violations directly within the three-dimensional modeling environment. This transforms compliance checking from a post-design verification task into an active design-support mechanism, enabling architects to receive immediate regulatory feedback while developing design alternatives.
To validate the proposed methodology, the framework was applied to a real-world case study in Kadikoy, Istanbul. Multiple design alternatives were evaluated using the same parcel-specific regulatory conditions. The experiments demonstrated that the system successfully identified compliance violations, generated rule-specific feedback, and communicated regulatory conflicts directly within the design environment. The case study confirmed the adaptability of the framework and demonstrated how different architectural decisions influence regulatory performance throughout the design process.
Following the successful implementation of the Rhino prototype, the research was extended into a BIM environment through the development of a Revit-based compliance-checking plugin. Developed using Python and the Autodesk Revit API, the plugin serves as the execution layer of the CODE-COMPANION framework. The system automatically extracts model information, including floor areas, elevations, roof geometry, stair dimensions, storey information, and basement levels, directly from BIM models. A deterministic rule engine evaluates these parameters against predefined regulatory thresholds and returns compliance results through a custom dockable interface integrated into Revit.
The Revit implementation consists of four primary components: a BIM data extraction module, a rule evaluation engine, a user interface layer, and a compliance reporting module. The plugin allows users to execute compliance analyses directly within the BIM authoring environment and receive real-time pass/fail feedback together with calculated values and regulatory thresholds. This integrated workflow eliminates the need for external analysis tools and supports compliance evaluation throughout the design process. Explainability was incorporated as a core design principle, with every compliance result accompanied by the evaluated rule, measured value, threshold value, and a textual explanation describing the reason for compliance or violation.
The completed research demonstrates the feasibility of integrating formalized regulatory knowledge with BIM environments through automated computational evaluation. The developed framework establishes a complete workflow beginning with regulatory interpretation and rule formalization, continuing through computational implementation and BIM-based parameter extraction, and concluding with explainable compliance reporting and design feedback.
Overall, the research contributes to computational design, BIM automation, and digital permitting by introducing an integrated methodology that combines AI-assisted rule interpretation, structured rule formalization, deterministic compliance evaluation, BIM integration, and explainable reporting. The findings demonstrate that a substantial portion of permit-related regulations can be transformed into computable rules and evaluated automatically during design development. By providing architects with real-time regulatory feedback directly within Rhino and Revit, the framework supports informed decision-making from the earliest design stages, reducing iterative revisions, design errors, and approval risks. Rather than functioning solely as a verification tool, the system actively guides and informs the design process by embedding regulatory intelligence into the design environment.
Beyond its benefits for designers, the framework also has significant implications for municipal authorities. By integrating automated compliance checking into digital permitting workflows, municipalities can reduce the manual evaluation of repetitive and deterministic regulations, resulting in faster permit reviews, improved consistency, greater transparency, and more efficient allocation of expert reviewers to complex cases requiring professional judgment. The proposed framework therefore provides a foundation for future digital building permit systems, AI-assisted regulatory workflows, automated rule extraction, and municipality-scale implementation of intelligent compliance-checking environments.
The contribution of CODE-COMPANION does not lie in claiming novelty for rule-based BIM checking, regulatory formalization, or AI assistance individually. Rather, the study proposes and demonstrates a specific human-in-the-loop framework that integrates regulatory interpretation and validation, explicit classification of requirements according to their computational suitability, deterministic checking of objectively measurable provisions, explainable design-time feedback, and continued human judgement for non-deterministic requirements. The framework is further demonstrated through methodological implementation in both Rhino/Grasshopper and Revit/pyRevit, illustrating the transferability of the regulatory checking logic across different design environments. The novelty of the study is therefore positioned in this particular integration of human and computational responsibilities, design-time regulatory awareness, cross-environment implementation, and selective AI assistance within a structured pathway toward increasingly digital building-permit workflows.
2. Materials and Methods
2.1. Framework Overview and Rule Formalization
CODE-COMPANION consists of a rule base, a deterministic checking engine, and BIM-integrated execution layers. Regulatory requirements are transformed into structured computational rules consisting of identifiers, measurable variables, threshold values, units, descriptions, and executable logical expressions. This formalization separates regulatory knowledge from software implementation, allowing rules to be maintained, updated, validated, and reused independently of the compliance-checking engine. Regulatory modifications are therefore accommodated by updating the rule database rather than the software architecture. Figure 1 summarizes the overall architecture and the checking loop.
Figure 1.
Overview of the CODE-COMPANION framework: a BIM model (Rhino or Revit) feeds a single engine of eighteen deterministic rules, implemented in both Grasshopper and a Revit/Python add-in; each run returns either a violation flagged on the model with its rule reference or a compliant result with exportable evidence, and the designer revises and re-checks until compliant.
The computational workflow begins with the extraction of parcel boundaries, site information, building geometry, floor slabs, roofs, walls, windows, stairs, and ramps from the model. These elements are converted into measurable parameters corresponding to the formalized rule definitions. The deterministic rule engine then evaluates each parameter against the predefined regulatory thresholds and generates pass/fail outcomes together with the measured values and the allowable limits, establishing a transparent and reproducible evaluation process.
2.2. Rule Validation Procedure
Before implementation, each selected regulatory requirement was manually compared with its original source and formalized according to a structured validation procedure. The authors verified the regulatory subject, applicability conditions, measurable variable, comparison operator, threshold or condition, unit, relevant exceptions or dependencies, and correspondence between the regulatory concept and the model information required for evaluation. Only requirements that could be expressed unambiguously as deterministic and measurable conditions were included in the implemented rule set.
The framework separates regulatory interpretation from computational execution through an explicit validation stage. Regulatory requirements are not introduced directly into the checking engine; their applicability, variables, operators, thresholds, units, exceptions, and model mappings are reviewed before deterministic implementation. This separation supports traceability and reduces the risk that an incorrectly formalized requirement propagates into automated compliance decisions.
Before computational encoding, each regulatory clause is assessed according to its degree of computability and classified as deterministic, conditionally deterministic, or interpretation-dependent. Deterministic clauses contain explicit measurable requirements that can be represented directly as computational comparisons. Conditionally deterministic clauses contain explicit dependencies that may be encoded when both their triggering conditions and resulting requirements can be identified and measured objectively. Interpretation-dependent clauses contain unresolved semantic ambiguity, discretionary language, contextual judgement, or qualitative conditions and are therefore retained for human review rather than automatic pass/fail evaluation.
The rule structure is designed to support incremental expansion of the regulatory library. Each requirement is represented through explicit attributes such as rule identifier, measurable variable, comparison operator, threshold or condition, unit, applicability information, and explanatory output. For regulatory requirements belonging to already supported computational forms, additional rules can therefore be introduced through new validated definitions without restructuring the overall measure–compare–report workflow. This modular organization represents architectural extensibility rather than evidence of municipality-scale computational scalability. The present implementation evaluates eighteen rules, and the behavior of substantially larger interconnected rule libraries has not yet been empirically benchmarked.
2.3. The Encoded Rule Set
Eighteen deterministic rules were encoded for the Kadikoy pilot site. The selected regulatory requirements were manually interpreted and formalized by the authors. For each requirement, the relevant regulatory variable, threshold or condition, measurement unit, comparison operator, applicability condition, and corresponding model information were identified before implementation. The resulting definitions were subsequently expressed as deterministic computational checks. No LLM was used to generate or formalize the eighteen regulatory rule definitions presented in this study. Consequently, no standardized LLM prompt template formed part of the regulatory formalization methodology. Each rule reads its threshold from an editable parameter (named with the prefix r_), so the same definition can be re-pointed to another site or jurisdiction by changing values rather than logic. Table 1 lists the rules, the parameter that holds each threshold, the value used for the pilot site, and the engine comparison.
Table 1.
Table 1 positions CODE-COMPANION relative to existing commercial, openBIM, academic, and LLM-based compliance approaches. While several individual components of the framework—such as deterministic rule checking, structured regulatory representation, and model-linked feedback—build on established work, CODE-COMPANION integrates them within a design-time, human-in-the-loop workflow that separates objectively computable requirements from interpretation-dependent provisions requiring professional review. The comparison also highlights current limitations, particularly the lack of IFC/IDS interoperability, which is identified as a direction for future development.
2.4. Notation and Geometry Extraction
The eighteen deterministic rules encoded in the CODE-COMPANION engine, together with their editable threshold parameters and the values used for the Kadikoy pilot site, are summarized in Table 2. Before any rule is evaluated, the engine derives a set of intermediate geometric variables from the model. These follow a consistent naming convention: Crv_ for boundary curves, Sl_ for slabs, El_ for elevations/levels, Mea_ for measured quantities, Ra_ for ratios, and Nb_ for counts. Table 3 defines the variables referenced by the checking definitions and the pseudocode of Appendix A.
Table 2.
The eighteen deterministic rules encoded in the CODE-COMPANION engine, with the editable threshold parameter and the engine comparison for the Kadikoy pilot site. Thresholds are supplied as parameters so the rule set can be adapted to any site.
Table 3.
Notation derived from the model and used throughout the rule-checking definitions.
Layer Ref components read each named layer (terrain, walls, roof, stairs, and adjacent buildings), and the parcel boundary is separated and labelled as front, back, left, and right before any rule is evaluated, establishing the named geometry that the checking definitions operate on. Part of this extraction is handled by a Python component embedded in the Grasshopper definition. The GHPython (IronPython 2.7.12) script reads the named geometry and sorts the slabs by their layer name into roof, above-ground (positive), ground, and basement groups, which the engine then counts and measures when it evaluates the storey, basement, and buildable-area rules. The layer-based geometry extraction process used in the Grasshopper prototype is illustrated in Figure 2.
2.5. The Rule-Checking Pipeline
The engine runs as a single deterministic pipeline. It extracts the named geometry layers, then processes them in six stages—site and setbacks, the ground slab, upper and roof slabs, walls and windows, the roof, and stairs and ramp—evaluating the relevant rules at each stage, as summarized in Figure 3. Every rule resolves to a pass or a fail; failures are marked on the 3D model with their rule reference, the designer revises the model, and the checks are re-run until the design is compliant. The complete rule-checking pipeline, including the rules evaluated at each stage and the design-time correction loop, is presented in (Figure 4).
Figure 3.
The six sequential checking stages: after the named layers are extracted, the engine processes the model through site and setbacks, the ground slab, upper and roof slabs, walls and windows, the roof, and stairs and ramp, with every rule resolving to a single pass or fail.
Figure 4.
The CODE-COMPANION rule-checking pipeline, organized by the six geometry-extraction stages, with the rules evaluated at each stage and the design-time correction loop.
Each individual rule follows the same atomic evaluation pattern: the required elements and parameters are selected, a deterministic measurement function computes the metric, the metric is compared to the rule threshold, and the outcome is either recorded as compliant or flagged on the model with the computed value against the limit. This per-rule deterministic evaluation pattern is illustrated in Figure 5. The full pseudocode of the checking engine, covering rules R1–R18 of Table 2, is given in Appendix A (Figure A1).
Figure 5.
The per-rule deterministic evaluation pattern applied to every rule in the set.
2.6. Case Study Setup
To test the system under realistic conditions and to show that it responds to design change rather than to a single fixed model, the prototype was applied to one real site in Kadikoy, Istanbul, on which two different building designs were developed. Parcel-specific regulatory conditions were derived from publicly available municipal planning data [29,30]. Both designs were run through the same rule set with identical site parameters, so that any difference in the flagged violations could be attributed to the design decisions alone.
2.7. Porting the Engine to Revit via Python
The Rhino/Grasshopper and Revit implementations are not technically connected analysis environments. Rhino/Grasshopper was used during the initial development stage to construct, test, and refine the regulatory checking workflow in a visual-programming environment. Its rapid visual response facilitated iterative prototyping and identification of errors in geometric measurement, regulatory logic, and feedback procedures. Once this workflow had been established, it was independently reimplemented in Autodesk Revit using pyRevit and Python. Grasshopper therefore serves as the workflow-development and prototyping environment, whereas Revit represents the BIM-native implementation of the resulting methodology.
Rhino/Grasshopper was initially used to establish, test, and refine the computational checking workflow. After the regulatory logic and checking sequence had been defined, the workflow was independently implemented in Autodesk Revit using Python and pyRevit. Gemini 3.6 Flash was used during portions of this software-development stage as a programming aid in translating the established workflow into Python code. All AI-assisted code was subsequently reviewed, modified where necessary, tested, and verified by the authors before incorporation into the Revit implementation. The Revit implementation consists of four primary components: a BIM data extraction module, a rule evaluation engine, a user interface layer, and a compliance reporting module. The add-in reads the same model attributes (levels and heights, areas, room boundaries, envelope geometry, and distances), evaluates the rule set, and returns true/false compliance results to the designer through a rule-checker console while the designer works on the model. The same Kadikoy site and model used in the Grasshopper proof were reproduced in Revit so that the two implementations could be compared on like-for-like inputs.
3. Results
3.1. Grasshopper Implementation
The predefined Rhino layer structure used in this prototype represents a practical geometry-association mechanism for workflow development rather than a universal modeling requirement of CODE-COMPANION. Rhino/Grasshopper was selected as the initial prototyping environment because its visual-programming structure enabled rapid iteration of geometric measurements, regulatory logic, and feedback procedures. The layer conventions therefore provided a transparent means of identifying the geometric inputs required during this development stage. The dependency on predefined layer naming is specific to the Rhino/Grasshopper prototype and introduces a degree of authoring-convention dependence. It is not intended to constitute the long-term interoperability mechanism of the framework.
The Rhino/Grasshopper prototype assumes that the predefined layers and associated geometric inputs required by the checking definitions are correctly prepared. Missing, incorrectly named, or incorrectly assigned layers may prevent the corresponding regulatory variable from being extracted and therefore prevent the associated rule from being evaluated correctly. The present prototype does not include a comprehensive semantic model-validation procedure for detecting all incorrect layer assignments. The layer organization should therefore be understood as a model-preparation requirement of the prototype implementation. The layer-based identification strategy is specific to the Rhino/Grasshopper implementation, which was initially used to develop and test the overall compliance-checking workflow. The subsequent Autodesk Revit implementation obtains the required regulatory variables from structured BIM information rather than from the manually prepared Rhino layer hierarchy. Although initially developed as the prototyping environment, the Rhino/Grasshopper implementation also provides an alternative access route for designers who primarily work in Rhino and may not use Revit. Its continued use therefore requires explicit modeling conventions and, in future development, stronger input-validation mechanisms.
The first stage produced a complete, working set of Grasshopper definitions that demonstrates the framework live on a Rhino model [31,32]. Figure 6 shows the complete definition in context: the Grasshopper engine (right) reads the Rhino model (left) and writes its results back onto the 3D geometry, where failed rules appear in red directly on the model.
Figure 6.
The complete CODE-COMPANION Grasshopper definition (right) evaluating the Kadikoy model in Rhino (left); failed rules are flagged in red directly on the 3D geometry.
Figure 7 shows the rule set of Table 1 running on the model. The Rule Results panel on the left reports each of the eighteen rules as a pass or fail (r1 through r18), while the labelled sliders on the right expose every threshold (for example r_El_RP, r_Nb_FL, and r_Mea_Sb_F) as an editable parameter rather than a hard-coded constant, which is what allows the same definition to be re-pointed to another site by changing values alone. Consequently, code compliance is transformed from a post-design verification task into an active design-support mechanism, enabling architects to identify issues early, evaluate design alternatives more efficiently, and reduce time-consuming redesign iterations. Examples of rule violations flagged directly on the 3D model are shown in Figure 8.
Figure 7.
The Rule Results panel returning a pass/fail outcome for each of the eighteen rules, beside the named parameter sliders that hold the editable thresholds for the Kadikoy site.
Figure 8.
Violations flagged directly on the 3D Rhino model, each labelled with its rule reference (for example R7 and R8), giving the designer in-model feedback during design.
Each detected rule violation is displayed in red adjacent to the corresponding geometric element, allowing designers to identify and understand compliance issues in their spatial context rather than through a separate list of errors. This demonstrates that the proposed rule framework is fully executable and capable of delivering immediate, explainable feedback during the design process. Consequently, code compliance is transformed from a post-design verification task into an active design-support mechanism, enabling architects to identify issues early, evaluate design alternatives more efficiently, and reduce time-consuming redesign iterations.
3.2. Kadıköy Case Study: Two Designs on One Site
Running both designs through the same rule set demonstrated how the tool reports compliance as the design evolves: identical site parameters yield different sets of flagged violations for the two schemes, and as a scheme is modified the marked errors update accordingly. Figure 9 shows the second scheme on the same site. Compared with the first design, this massing breaches several limits at once—building height (R1), cantilevered upper-floor distance (R7), ramp slope and adjacent-building separation (R8), maximum buildable area (R9), and the ground-floor starting level (R14)—each flagged in red on the model.
Figure 9.
The second design on the same Kadikoy site, returning a different and larger set of violations from the same rule set—building height (R1), cantilever distance (R7), ramp slope and adjacent-building intersection (R8), maximum buildable area (R9), and ground-floor starting height (R14).
Under identical parcel parameters and the same eighteen-rule set, the first design is flagged only for localized conflicts at the cantilevered upper floor—cantilever length (R7) and adjacent-facade distance (R8)—whereas the second, larger massing accumulates five violations, adding building height (R1), maximum buildable area (R9), and ground-floor starting level (R14) to the recurring cantilever and separation conflicts. The comparison makes the cause-and-effect relationship legible: each additional violation corresponds to a specific massing decision, and the rule-by-rule feedback shows the designer exactly which decisions to revisit to steer the scheme back toward compliance. A rule-level comparison of the compliance outcomes for the two design alternatives is presented in Figure 10.
Figure 10.
Rule-level comparison of the two designs on the same Kadikoy site: under identical parcel parameters and the same eighteen-rule set, Design 1 is flagged for the cantilever-related rules R7 and R8, while the larger massing of Design 2 adds violations of building height (R1), maximum buildable area (R9), and ground-floor starting level (R14).
The two-design comparison on a single site provided a concrete demonstration that the prototype generalizes across alternative designs on the same parcel and that its feedback is actionable during design. The designer observes the violations on the system and adjusts the design to resolve them before any submission is made; the municipality, in turn, receives a cleaner, pre-checked submission, shortening the review path for the deterministic majority of checks.
To verify the accuracy of the implemented deterministic checking logic, the compliance outcomes produced by CODE-COMPANION were manually cross-checked against the same regulatory requirements for both Kadıköy design alternatives. The manual evaluation considered the corresponding model-derived values, regulatory thresholds, and applicability conditions independently of the automated pass/fail output. The automated outcomes were consistent with the corresponding manual determinations for the evaluated rules, providing internal validation that the encoded computational logic reproduced the expected regulatory decisions within the case-study conditions.
This agreement is limited to the eighteen implemented rules and the two case-study models and should not be interpreted as a universal error-rate estimate. Establishing generalizable accuracy metrics requires a larger independently labeled benchmark dataset. No disagreement between the automated and author-conducted manual determinations was observed within the tested rule instances. Additionally, it represents author-conducted manual cross-validation of the implemented rule logic rather than an independent municipal-review benchmark. The results therefore support the technical correctness of the prototype within the tested conditions but should not be interpreted as demonstrating equivalence to professional municipal review.
3.3. Cross-Platform Portability: The Revit Add-In
The relationship between the two implementations is methodological rather than technical: no geometry, measurements, or compliance results are transferred from Grasshopper to Revit. Instead, the general checking sequence developed through the Grasshopper prototype is independently implemented within Revit using BIM-native model information. The Revit implementation is developed in Python and executed through pyRevit within Autodesk Revit. It does not rely on a separate custom or external geometry-processing API. Instead, the checking procedures operate on the geometric, dimensional, and parametric information maintained within the Revit BIM environment. Depending on the regulatory requirement, relevant model information such as dimensions, levels, elevations, areas, element geometry, and other project properties is retrieved and evaluated by the Python-based checking procedures.
The complete rule set was first proven in Grasshopper and then re-implemented as a Revit/Python add-in that returns true/false compliance results for the same site and model, validating the same regulatory logic across two BIM environments. The Revit implementation does not consume the Rhino layer structure or transfer geometry from the Grasshopper prototype. Following development of the checking methodology in Grasshopper, the workflow was independently implemented using Python and pyRevit within Autodesk Revit. Required quantities are therefore obtained from the geometric, dimensional, parametric, and semantic information represented within the Revit BIM model. The methodological relationship between the Grasshopper and Revit implementations is summarized in Figure 11.
Figure 11.
One rule set proven on two platforms: the eighteen deterministic rules run on the same model and site in both the Grasshopper implementation (Phase 1) and the Revit/Python add-in (Phase 2), validated on like-for-like inputs.
The docked Rule Checker Console serves as the primary interface between the BIM model and the compliance evaluation engine. It automatically extracts project information directly from the Revit model, including the level hierarchy (ground floor, upper floors, roof, and basement levels), geometric properties, and project-specific parameters such as roof elevation, plinth conditions, and other regulatory attributes required by the rule set. These extracted parameters are mapped to the corresponding rule definitions without requiring manual data entry, ensuring that the evaluation is performed using the current state of the BIM model. The console then executes each formalized rule sequentially, displaying a green TRUE (PASSED) or FALSE (FAILED) result together with the evaluated rule identifier, measured value, governing threshold, and regulatory reference. The interface is designed to allow architects to identify which requirements are satisfied or violated, examine the associated measured values and regulatory thresholds, and determine which model parameters or geometric conditions may require modification while remaining within the BIM authoring environment.
The successful implementation of the rule engine within Revit demonstrates that the proposed regulatory framework is not tied to a specific modeling platform. The same rule definitions previously developed and validated in the Rhino/Grasshopper environment were executed on the identical case study within Autodesk Revit, producing consistent true/false compliance outcomes. This confirms that the computational representation of regulations remains independent of the underlying software environment and can be transferred across different BIM platforms without redefining the regulatory logic. Consequently, the framework separates regulatory knowledge from software implementation, allowing the rule base to be maintained, extended, and updated independently of the compliance-checking engine. This modular architecture also enables municipalities, software developers, and design offices to integrate the same standardized rule definitions into their own digital permitting or BIM workflows while preserving a single, authoritative regulatory knowledge base.
Explainability was incorporated as a fundamental design principle throughout the framework. Rather than returning only binary pass/fail results, every compliance outcome is accompanied by the evaluated rule, the measured parameter, the governing threshold, and a human-readable explanation describing the reason for compliance or violation. This transparent reporting allows designers to understand not only whether a regulation has been violated, but also why the violation occurred and which design parameter must be modified to achieve compliance. By embedding this information directly within the design environment, the system supports informed decision-making, facilitates rapid design iterations, and transforms automated compliance checking into an interactive design-support process rather than a simple verification tool. Additional rule results displayed in the Revit Rule Checker Console are shown in Figure 12.
Figure 12.
Further rule results in the Revit console (R14 ground-floor starting height, R15 roof slope, and R17 number of basement storeys), with the Run Analysis control that re-runs the complete rule set on the current model.
3.4. Automation Scope: Deterministic Versus Negotiable Rules
A deliberate outcome of the implementation work was the clarification of the system’s scope. The prototype handles “certain” rules—those that can be evaluated deterministically from geometry and parameters [33,34], such as height caps, coverage, setbacks, and separations. It does not attempt to automate “negotiable” rules, which depend on case-by-case judgement and human-to-human interaction between applicant and authority. By drawing this boundary explicitly, the system makes the large and straightforward majority of rule determinations highly efficient while leaving discretionary matters to the appropriate human process.
All compliance outcomes reported by CODE-COMPANION are generated through deterministic computational logic. The LLM used during software development is not invoked during runtime model evaluation and therefore has no influence on individual pass/fail decisions. Requirements involving subjective terminology, discretionary assessment, undefined contextual conditions, or professional judgement are intentionally excluded from automated pass/fail evaluation. These clauses remain part of the regulatory review process but are retained for human interpretation rather than being converted into potentially unreliable deterministic decisions.
In the present prototype, only the implemented deterministic and conditionally deterministic rules are displayed in the automated checking interface. Interpretation-dependent or discretionary provisions are excluded from automated evaluation rather than being marked as compliant. Consequently, the absence of a rule from the automated results should not be interpreted as evidence that the corresponding regulatory requirement has been satisfied. For a more comprehensive permitting implementation, requirements outside the deterministic automation scope should remain visible to the user through an explicit ‘manual review required’ category. This would allow architects and regulatory reviewers to distinguish between requirements that have been computationally evaluated and requirements that still require professional interpretation. A future expanded Rule Checker interface should distinguish four regulatory states: (1) automatically verified–compliant; (2) automatically verified–non-compliant; (3) unable to evaluate because required model information is missing or unresolved; and (4) manual review required for interpretation-dependent or discretionary provisions.
4. Discussion
The completed framework demonstrates that formalized regulatory knowledge can be successfully integrated into BIM environments through deterministic computational evaluation while providing architects with continuous, explainable feedback throughout the design process. By embedding regulatory intelligence directly within the modeling environment, the system transforms compliance checking from a post-design verification procedure into an active design-support mechanism, enabling designers to identify issues early, evaluate alternatives more efficiently, reduce redesign iterations, and make informed decisions from the earliest stages of design.
CODE-COMPANION is positioned as complementary to openBIM-based compliance workflows rather than as their replacement. The present implementation operates directly within design-authoring environments and is intended to provide regulatory feedback during model development. IFC and IDS provide standardized mechanisms for vendor-neutral information exchange and specification of model-information requirements. Future interoperability work may map CODE-COMPANION regulatory variables and requirements to IFC entities and IDS specifications, enabling direct comparison between native design-time checking and openBIM-based validation. Following implementation, the automated compliance outcomes were manually cross-checked against the corresponding regulatory requirements for the case-study models. Agreement between the expected manual determination and the computational outcome provided an additional validation of the encoded rule logic. The boundary between computable and interpretation-dependent regulation is an important architectural feature of the framework. CODE-COMPANION does not seek to maximize automation by forcing every regulatory statement into executable logic. Instead, automation is restricted to requirements whose meaning and evaluation criteria can be defined reproducibly, while unresolved semantic or discretionary conditions remain under professional and municipal judgement.
The generated feedback is intended to support user interpretation by presenting the regulatory requirement together with the model-derived measurement, governing threshold, compliance status, and explanatory information. For geometrically localized violations, model-based visualization additionally allows the affected element or relationship to be identified within the design environment. This structure is intended to help designers determine which design parameter or geometric condition requires revision and to re-evaluate the model following modification. However, the present study does not empirically establish whether practicing architects interpret or act upon this feedback in the intended manner.
A subsequent validation stage will involve structured user studies with practicing architects. Participants will complete representative regulatory checking and design-revision tasks using the proposed system. Evaluation criteria will include interpretation accuracy, task-completion time, correction success, number of design iterations, learning requirements, perceived usability, cognitive workload, confidence in the generated results, and compatibility with existing BIM workflows. Evaluation with municipal reviewers represents a complementary research stage. Whereas architects primarily interact with compliance feedback as part of design development, municipal reviewers require traceable and reliable evidence for regulatory verification. Future studies will therefore investigate whether rule-level references, measured values, thresholds, model-linked evidence, and explanatory outputs provide sufficient transparency to support professional review and whether additional reporting or documentation mechanisms are required.
The present results establish functional correctness of the implemented rule logic within the tested case-study conditions but do not establish generalized statistical performance. While deterministic evaluation ensures reproducibility for a given correctly extracted input and encoded rule, larger-scale benchmarking remains necessary to assess the robustness of model-information extraction and rule execution across heterogeneous BIM models and modeling practices. No disagreement was observed between the automated and author-conducted manual determinations across the evaluated case-study rule instances. This result should be interpreted only within the tested dataset and should not be extrapolated as a universal 100% system-accuracy claim.
For rule types requiring model information not currently retrieved by the prototype, expansion of the regulatory library must be accompanied by corresponding expansion of the model-information extraction layer. Future IFC/IDS-based mappings may provide a standardized mechanism for defining and validating the information required by additional regulatory domains. Future research may progressively expand the rule library across multiple zoning and regulatory categories and evaluate how the framework behaves as rule-set size and model complexity increase. Testing will include applicability filtering, dependency management, rule versioning, information-extraction requirements, result organization, and computational performance.
The findings show that a substantial proportion of permit-related regulations can be transformed into computable rules and evaluated automatically during design development. While the earlier stages of this research established the conceptual foundations for AI-assisted design-time compliance checking, the present work validates the framework through a functioning implementation in both Rhino/Grasshopper and Autodesk Revit. More importantly, it demonstrates that formalized regulatory knowledge can be translated into a reusable computational representation that operates consistently across BIM platforms while delivering transparent, explainable, and actionable feedback within the design environment. Three key findings emerge from this work.
First, the proposed parametric rule representation proved to be the principal enabler of portability and long-term maintainability. Because regulatory thresholds and constraints are stored as external parameters rather than embedded within the software implementation, the same compliance engine can be applied to different projects, sites, jurisdictions, and regulatory revisions simply by updating the rule definitions. The successful implementation of identical regulatory logic in both Rhino/Grasshopper and Autodesk Revit demonstrates that the framework is platform-independent and that regulatory knowledge can remain separate from the software responsible for its execution. This separation between the rule base and the checking engine represents a fundamental architectural contribution, providing a scalable foundation for reusable, interoperable, and maintainable digital regulatory systems [35] while avoiding the reliability and traceability limitations associated with directly generating executable code from natural-language regulations using Large Language Models. Therefore, the present implementation should be distinguished from systems in which an LLM directly interprets regulatory documents, generates regulatory rules autonomously, or participates in compliance decision-making. CODE-COMPANION currently relies on author-formalized regulatory definitions followed by deterministic computational evaluation. The LLM contribution in the present study was limited to software-development assistance during portions of the Python/pyRevit implementation.
Second, delivering compliance feedback continuously during the design process fundamentally changes the role of automated code checking. Rather than functioning solely as a final verification step prior to permit submission [36], the framework actively supports architectural decision-making by providing immediate, contextual feedback as the design evolves. Compliance issues are identified, localized, and explained directly within the BIM model, allowing architects to resolve violations as they occur instead of after substantial design effort has already been invested. This continuous feedback loop reduces costly redesign iterations, shortens the overall design and permitting process, and enables designers to explore alternative solutions with immediate awareness of their regulatory implications. In this respect, the framework shifts automated compliance checking from a reactive gatekeeping process toward a proactive design-support methodology that integrates regulatory intelligence into everyday architectural practice.
Third, the explicit distinction between deterministic and interpretation-dependent regulations defines an appropriate scope for AI-assisted compliance evaluation while preserving the role of professional judgement. Objective and measurable regulations can be evaluated consistently through deterministic computational logic, whereas subjective, negotiable, or context-dependent requirements remain under the responsibility of designers and municipal reviewers. This balanced approach improves trustworthiness by avoiding over-automation of inherently discretionary decisions while maximizing the benefits of computational evaluation for objective regulatory requirements. For municipal authorities, automating the deterministic majority of permit checks has the potential to accelerate approval processes, improve consistency and transparency, reduce repetitive manual review, and enable expert reviewers to concentrate on complex design issues that require professional interpretation rather than routine code verification [37,38,39].
Limitations
The present study does not include a formal practitioner usability study. Consequently, the ability of practicing architects and municipal reviewers to interpret, trust, learn, and integrate the generated compliance feedback into existing professional workflows has not yet been evaluated empirically. The results of the present study therefore demonstrate technical and methodological feasibility rather than validated usability or professional adoption.
5. Conclusions
This paper presented CODE-COMPANION, an AI-assisted computational framework for BIM-based code compliance checking and digital building permit workflows and reported its implementation and validation. Eighteen permit-related regulations were formalized as parametric, editable rule definitions; a deterministic checking engine was implemented in Rhino/Grasshopper and shown to run live on a 3D model, marking each violation directly on the geometry; the framework was validated on a real Kadikoy site through two alternative designs; and the complete rule logic was ported to Autodesk Revit via Python, confirming the separation of rule base from checking engine. The framework establishes a complete workflow beginning with regulatory interpretation and rule formalization, continuing through computational implementation and BIM-based parameter extraction, and concluding with explainable compliance reporting and design feedback.
For the case-study models, the deterministic compliance outcomes produced by CODE-COMPANION were manually cross-checked by the authors and found to correspond with the expected regulatory determinations, providing an initial rule-level accuracy validation of the implemented framework. The study does not, however, establish equivalence or superiority relative to independent municipal review or IFC/IDS-based workflows. External professional benchmarking, performance evaluation, and openBIM interoperability testing therefore remain necessary stages toward broader deployment.
The framework is intended to maintain a transparent boundary between deterministic automation and professional judgement. Future implementations will make this boundary explicit within the user interface so that automatically verified requirements, non-compliant conditions, missing-information cases, and provisions requiring manual review can be distinguished clearly.
Beyond its current implementation, the proposed framework establishes a scalable foundation for a much broader ecosystem of intelligent, rule-based design support tools. The modular architecture is designed to support future extension to additional regulatory requirements and domains; however, large-scale rule libraries containing extensive dependencies, jurisdiction-specific applicability conditions, and broader BIM-information requirements have not yet been empirically validated. By expanding the rule base, future versions could evaluate a wide range of requirements, including fire safety regulations, accessibility standards, sustainability and environmental performance criteria, energy efficiency requirements, structural design constraints, interior design standards, space programming guidelines, and discipline-specific building codes. Any requirement that can be translated into measurable computational logic can be incorporated into the existing rule representation and evaluated automatically within the BIM environment.
The separation of the machine-readable rule base from the compliance-checking engine further enables the framework to evolve alongside changing regulations and emerging design standards. New rules can be introduced by extending the rule library, allowing municipalities, regulatory agencies, and design organizations to maintain an adaptable and continuously evolving regulatory knowledge base. This modular architecture also facilitates implementation across different cities and countries by replacing jurisdiction-specific regulations while preserving the same computational workflow.
Looking ahead, the framework has the potential to evolve beyond automated compliance checking into a comprehensive AI-assisted design companion that actively supports architectural decision-making throughout the entire design process. Rather than simply detecting non-compliant conditions, future versions could simultaneously evaluate multiple performance domains, compare alternative design solutions, provide regulation-aware design recommendations, estimate the consequences of design modifications in real time, and assist architects in developing more compliant, efficient, sustainable, and higher-quality designs.
Future development may investigate an openBIM interoperability layer in which the information required by CODE-COMPANION rules is mapped to IFC entities, properties, quantities, and relationships. IDS may additionally be used to specify and validate the information that must be present before individual regulatory checks can be executed. This would enable standardized semantic mapping, reduce dependence on office-specific naming conventions, and support evaluation of models originating from different BIM authoring environments. Additionally, future validation may employ a larger labelled benchmark containing multiple compliant and non-compliant instances for each rule. Ground-truth determinations will be established independently by practicing architects and/or municipal reviewers. The resulting dataset will enable calculation of accuracy, precision, recall, specificity, false-positive and false-negative rates, and rule-specific disagreement patterns.
Ultimately, CODE-COMPANION demonstrates that regulatory intelligence can evolve from a static compliance-checking mechanism into an intelligent design-support platform, where planning regulations, building codes, fire safety, sustainability, accessibility, interior design requirements, and other performance criteria are evaluated within a unified computational environment. Such an approach has the potential to support faster, more transparent permitting processes while fundamentally changing the way architects interact with regulations, transforming them from design constraints into active design knowledge that guides better architectural decision-making.
6. Patents
This work is currently under patent application preparation in collaboration with Istanbul Technical University.
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/buildings16183758/s1, Figure S1: Method for design-time building-permit compliance checking; File S1: Revit rule-checker source code, including the main dockable-panel module (rulechecker_panel.py) and launcher script (script.py).
Author Contributions
Conceptualization, I.Z.T. and S.M.S.; methodology, I.Z.T.; software, I.Z.T.; validation, I.Z.T.; formal analysis, I.Z.T.; investigation, I.Z.T.; writing—original draft preparation, I.Z.T.; writing—review and editing, S.M.S.; visualization, I.Z.T.; supervision, S.M.S. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The original contributions presented in this study are included in the article and the Supplementary Materials. Further inquiries can be directed to the corresponding author.
Acknowledgments
Google Gemini 3.6 Flash was used as a software-development aid during portions of the Python 3.13/pyRevit (2026) implementation. The model assisted in translating elements of the previously established computational workflow into Python code. It was not used to generate or formalize the eighteen regulatory rules and did not participate in compliance evaluation. All AI-assisted code was reviewed, tested, and verified by the authors.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| AEC | Architecture, Engineering, and Construction |
| AI | Artificial Intelligence |
| API | Application Programming Interface |
| BIM | Building Information Modeling |
| DBP | Digital Building Permit |
| LLM | Large Language Model |
Appendix A
Figure A1 presents the full pseudo code of the deterministic checking engine (Grasshopper implementation), enforcing rules R1–R18 of Table 1. Indentation reflects the nesting of operations; comment lines (//) record the modelling conventions a model must satisfy for a check to run deterministically; and each check line ends with the rule it enforces (>> R#).
Figure A1.
Pseudo code of the CODE-COMPANION deterministic checking engine (Grasshopper implementation), enforcing rules R1–R18 of Table 1. Comment lines record the modelling conventions a model must satisfy; each check line ends with the rule it enforces (» R#).
References
- Eastman, C.; Lee, J.-M.; Jeong, Y.-S.; Lee, J.-K. Automatic rule-based checking of building designs. Autom. Constr. 2009, 18, 1011–1033. [Google Scholar] [CrossRef] [Scilit]
- Dimyadi, J.; Amor, R. Automated building code compliance checking—Where is it at? In Proceedings of the 19th CIB World Building Congress, Brisbane, Australia, 5–9 May 2013; pp. 172–185. [Google Scholar] [CrossRef] [Scilit]
- Noardo, F.; Guler, D.; Fauth, J.; Malacarne, G.; Mastrolembo Ventura, S.; Azenha, M.; Olsson, P.-O.; Senger, L. Unveiling the actual progress of Digital Building Permit: Getting awareness through a critical state of the art review. Build. Environ. 2022, 213, 108854. [Google Scholar] [CrossRef] [Scilit]
- Amor, R.; Dimyadi, J. The promise of automated compliance checking. Dev. Built Environ. 2021, 5, 100039. [Google Scholar] [CrossRef] [Scilit]
- Guler, D.; Yomralioglu, T. Reviewing the literature on the tripartite cycle containing digital building permit, 3D city modeling, and 3D property ownership. Land Use Policy 2022, 121, 106337. [Google Scholar] [CrossRef] [Scilit]
- buildingSMART International. Global openBIM Mandates 2025 Edition—A Playbook of IFC Mandates from Around the World; buildingSMART International: Cambridge, UK, 2025. [Google Scholar]
- Lee, H.; Lee, J.-K.; Park, S.; Kim, I. Translating building legislation into a computer-executable format for evaluating building permit requirements. Autom. Constr. 2016, 71, 49–61. [Google Scholar] [CrossRef] [Scilit]
- Malsane, S.; Matthews, J.; Lockley, S.; Love, P.E.D.; Greenwood, D. Development of an object model for automated compliance checking. Autom. Constr. 2015, 49, 51–58. [Google Scholar] [CrossRef] [Scilit]
- Alnuzha, M.; Bloch, T. The role of machine learning in automated code checking—A systematic literature review. J. Inf. Technol. Constr. 2025, 30, 22–44. [Google Scholar] [CrossRef] [Scilit]
- Fischer, S.; Urban, H.; Schranz, C.; Zucker, G. Bridging the gap between tabular information requirements and the Information Delivery Specification (IDS). Buildings 2025, 15, 1017. [Google Scholar] [CrossRef] [Scilit]
- Chen, N.; Lin, X.; Jiang, H.; An, Y. Automated building information modeling compliance check through a large language model combined with deep learning and ontology. Buildings 2024, 14, 1983. [Google Scholar] [CrossRef] [Scilit]
- Hjelseth, E.; Nisbet, N. Capturing normative constraints by use of the semantic mark-up RASE methodology. In Proceedings of the CIB W78-W102 Conference, Sophia Antipolis, France, 26–28 October 2011; pp. 1–10. [Google Scholar]
- Zhang, J.; El-Gohary, N.M. Semantic NLP-based information extraction from construction regulatory documents for automated compliance checking. J. Comput. Civ. Eng. 2016, 30, 04015014. [Google Scholar] [CrossRef] [Scilit]
- Zhang, J. How can ChatGPT help in automated building code compliance checking? In Proceedings of the 40th International Symposium on Automation and Robotics in Construction (ISARC 2023), Chennai, India, 3–9 July 2023; pp. 63–70. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Madireddy, S.; Gao, L.; Din, Z.; Kim, K.; Senouci, A.; Han, Z.; Zhang, Y. Large-language-model-driven code compliance checking in building information modeling. Electronics 2025, 14, 2146. [Google Scholar] [CrossRef] [Scilit]
- Ali, S.; König, M. Automating building code interpretation using NLP and transfer learning for enhanced code compliance. In EG-ICE 2025: AI-Driven Collaboration for Sustainable and Resilient Built Environments Conference Proceedings; Moreno-Rangel, A., Kumar, B., Eds.; University of Strathclyde Publishing: Glasgow, UK, 2025; pp. 108–113. [Google Scholar] [CrossRef]
- Fuchs, S.; Witbrock, M.; Dimyadi, J.; Amor, R. Using large language models for the interpretation of building regulations. arXiv 2024, arXiv:2407.21060. [Google Scholar] [CrossRef] [Scilit]
- Zheng, Z.; Zhou, Y.-C.; Lu, X.-Z.; Lin, J.-R. Knowledge-informed semantic alignment and rule interpretation for automated compliance checking. Autom. Constr. 2022, 142, 104524. [Google Scholar] [CrossRef] [Scilit]
- Ying, H.; Sacks, R. From automatic to autonomous: A large language model-driven approach for generic building compliance checking. In Proceedings of the 41st International Conference of CIB W78, Marrakech, Morocco, 2–3 October 2024. [Google Scholar]
- Nawari, N.O. A Generalized Adaptive Framework (GAF) for automating code compliance checking. Buildings 2019, 9, 86. [Google Scholar] [CrossRef] [Scilit]
- Beach, T.H.; Hippolyte, J.-L.; Rezgui, Y. Towards the adoption of automated regulatory compliance checking in the built environment. Autom. Constr. 2020, 118, 103285. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Z.; Nisbet, N.; Ma, L.; Broyd, T. Capabilities of rule representations for automated compliance checking in healthcare buildings. Autom. Constr. 2023, 146, 104688. [Google Scholar] [CrossRef] [Scilit]
- Peng, J.; Liu, X. Automated code compliance checking research based on BIM and knowledge graph. Sci. Rep. 2023, 13, 7065. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Wu, J.; Xue, X.; Zhang, J. Invariant signature, logic reasoning, and semantic natural language processing (NLP)-based automated building code compliance checking (I-SNACC) framework. J. Inf. Technol. Constr. 2023, 28, 1–18. [Google Scholar] [CrossRef] [Scilit]
- Fuchs, S.; Dimyadi, J.; Witbrock, M.; Amor, R. Intermediate representations to improve the semantic parsing of building regulations. Adv. Eng. Inform. 2024, 62, 102735. [Google Scholar] [CrossRef] [Scilit]
- Nakhaee, A.; Elshani, D.; Wortmann, T. A vision for automated building code compliance checking by unifying hybrid knowledge graphs and large language models. In Scalable Disruptors: Design Modelling Symposium 2024; Eversmann, P., Ed.; Springer Nature Switzerland: Cham, Switzerland, 2024; pp. 445–457. [Google Scholar] [CrossRef] [Scilit]
- Li, H.; Yang, R.; Xu, S.; Xiao, Y.; Zhao, H. Intelligent checking method for construction schemes via fusion of knowledge graph and large language models. Buildings 2024, 14, 2502. [Google Scholar] [CrossRef] [Scilit]
- Zheng, Z.; Han, J.; Chen, K.-Y.; Cao, X.-Y.; Lu, X.-Z.; Lin, J.-R. Translating regulatory clauses into executable codes for building design checking via large language model driven function matching and composing. Eng. Appl. Artif. Intell. 2026, 163, 112823. [Google Scholar] [CrossRef] [Scilit]
- Kadikoy Municipality; İstanbul Büyükşehir Belediyesi (IBB). Plan Askı Portal and Imar Durumu Datasets. Available online: https://sehirharitasi.ibb.gov.tr (accessed on 14 July 2026).
- Guler, D.; Yomralioglu, T. A reformative framework for processes from building permit issuing to property ownership in Turkey. Land Use Policy 2021, 101, 105115. [Google Scholar] [CrossRef] [Scilit]
- Preidel, C.; Borrmann, A. Towards code compliance checking on the basis of a visual programming language. J. Inf. Technol. Constr. 2016, 21, 402–421. [Google Scholar]
- Sydora, C.; Stroulia, E. Towards rule-based model checking of building information models. In Proceedings of the 36th International Symposium on Automation and Robotics in Construction (ISARC 2019), Banff, AB, Canada, 21–24 May 2019; pp. 1327–1333. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Solihin, W.; Eastman, C. Classification of rules for automated BIM rule checking development. Autom. Constr. 2015, 53, 69–82. [Google Scholar] [CrossRef] [Scilit]
- Hjelseth, E. Classification of BIM-based model checking concepts. J. Inf. Technol. Constr. 2016, 21, 354–369. [Google Scholar]
- Beach, T.H.; Rezgui, Y.; Li, H.; Kasim, T. A rule-based semantic approach for automated regulatory compliance in the construction sector. Expert Syst. Appl. 2015, 42, 5219–5231. [Google Scholar] [CrossRef] [Scilit]
- Wu, J.; Nousias, S.; Borrmann, A. Design Healing framework for automated code compliance. Autom. Constr. 2025, 171, 106004. [Google Scholar] [CrossRef] [Scilit]
- Noardo, F.; Wu, T.; Arroyo Ohori, K.; Krijnen, T.; Stoter, J. IFC models for semi-automating common planning checks for building permits. Autom. Constr. 2022, 134, 104097. [Google Scholar] [CrossRef] [Scilit]
- Olsson, P.-O.; Axelsson, J.; Hooper, M.; Harrie, L. Automation of building permission by integration of BIM and geospatial data. ISPRS Int. J. Geo-Inf. 2018, 7, 307. [Google Scholar] [CrossRef] [Scilit]
- Fauth, J.; Soibelman, L. Conceptual framework for building permit process modeling: Lessons learned from a comparison between Germany and the United States regarding the as-is building permit processes. Buildings 2022, 12, 638. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.












