Ifcopenshell-api from C#?

Hi,
At my workplace, we are quite fan of using Rhino&Grasshopper, and we build our own logic into Grashopper components written in C#. I am wondering if there is possible to somehow use the ifcopenshell-api written in Python from C#? The idea is that the codebase can still stay in C#, and users wont need to manually/locally install python. I ask since my best idea currently is to maybe write many smaller python scripts calling the API, and compile those python scripts into .exe files and call those from C#, in order to create kind of a wrapper around the ifcopenshell-api. Any insight is appreciated:)

Comments

  • I thought about this a bit more, and creating wrapper functions was a stupid idea, as I can't rely on reading the entire .ifc file everytime I want to perform some changes. That will be incredibly slow..

Sign In or Register to comment.