Skip to content
jakob-beetz edited this page Dec 20, 2016 · 14 revisions

IfcOpenShell Scripting Tutorial

On these pages small snippets are presented that help you to automate tasks working with Industry Foundation Classes models. It is targeted at building domain experts who have little or no background knowledge in coding. It uses the IfcOpenShell toolkit by Thomas Krijnen. In particular, an interactive viewer is used that allows for quick feedback between the interactions of the scripts with the model by visualizing the results.

Hello IFC

As a first check, to test whether the setup works, please start the viewer and load a model. Then, type in the words

print ("hello world")

which should print out the words hello world to the console window under the editor

Clone this wiki locally