BIM-based tools can contribute to addressing some of the challenges faced by structural engineering practitioners. A BIM-based framework for the development of components that deliver Automatic Code Compliance (ACC) is presented. The structural design problems that such components solve are categorised as simple, where ACC can be implemented directly, or complex, where more advanced approaches are needed. The mathematical process of Multi-Dimensional Data Fitting (MDDF) is introduced in order for the latter, enabling the compression of complex engineering calculations to a single equation that can be easily implemented into a BIM software engineering package. Proof-ofconcept examples are given for both cases: offsite manufactured structural joists are utilised as a nonrecursive example, implementing the results obtained in the manufacturer's literature; the axial capacity of metal fasteners in axially loaded timber-to-timber connections are utilised as an example of recursive problems. The MDDF analysis and the implementation in a BIM package of those problems are presented. Finally, the concept is generalised for non-structural aspects at a framework level, and the challenges, implications, and prospects of ACC in a BIM context are discussed.