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:
- Using the ifcopenshell python module from http://ifcopenshell.org/python (but it does not have the api)
- Using github: https://github.com/IfcOpenShell/IfcOpenShell/tree/v0.6.0/src/ifcopenshell-python/ifcopenshell (I copied the folder and put it in the site-packages).
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?