||Use of virtual buildings is a good way to get a concrete idea about future projects.It may allow avoiding errors discovered after the construction start and thusexpensive to correct. In the near future, virtual environments should allow takinginto account the whole constraints linked to the construction project (e.g.architectural, technical, regulations, financial, etc.). This is the purpose of CSTB'sEnriched Virtual Environments project (EVE), which aims to offer users thepossibility to couple 3D representation of the built environment with physicalsimulations (thermal, acoustic, etc.) within a Virtual Building. Moreover, EVEintegrates a code compliance checking module, which provides users an easy andquick code compliance access. This access to regulation documents enables theuser to query in an intuitive way the regulation database that applies to his project,and more particularly according to his interest (fire security, accessibility, etc.).This paper focuses on possible solutions to manage this last issue, which rely on thebuilding data structure and the database containing French building codecompliance and documents. The main objective for this work is to conceive amatching to bind these two concepts. Data structure is based on the IndustryFoundation Classes (IFC), and some tools have been implemented upon theseclasses, to allow code compliance access. The French regulation database is theCD-REEF one.