0.1 Overview
This example shows how to load an IFC file and print a summary of the model.
from compas_ifc.model import Model
model = Model("data/wall-with-opening-and-window.ifc")
model.print_summary()
Example Output:
================================================================================
File: data/wall-with-opening-and-window.ifc
Size: 0.01 MB
Project: Default Project
Description: Description of Default Project
Number of sites: 1
Number of buildings: 1
Number of building elements: 2
================================================================================