How to install ifcopenshell.api in python (3.9)

I saw this article about the IfcOpenShell api on the OSArch social media and thought I want that too!

Somehow I can't make it work outside of Blender, but probably I'm doing something wrong. I only can't figure out what. I tried:

Second method let me import ifcopenshell.api, but it's not really installed. Example of this code:

import ifcopenshell
import ifcopenshell.api
f = ifcopenshell.api.project.create_file.UseCase().execute()

I get an error AttributeError: module 'ifcopenshell.api' has no attribute 'project'
Anybody knows what I'd be doing wrong?

Comments

Sign In or Register to comment.