Opening IFC files with open-source libraries to count, check, extract and report, without any authoring software, and what a first script looks like.
IFC files can be read and written by code using open-source libraries, independently of any authoring tool. IfcOpenShell (Python and C++) and web-ifc (JavaScript and WebAssembly, the one BIMpedia's IFC tools use in your browser) are the best known. With a few lines you can count elements, list properties, check rules or export data, on files from any software that exports IFC.
The task: list every door with its storey and fire rating, and flag doors with no rating. In Python with IfcOpenShell, the logic is:
Read the full entry on BIMpedia →