3.2 Element View

This example shows how to load an IFC file and display selected element in compas_view2.

from compas_ifc.model import Model

model = Model("data/Duplex_A_20110907.ifc")
model.get_entities_by_type("IfcWindow")[0].show()
../_images/element_view.jpg