Thank you very much!
Hm, I couldnt find how DISABLE_TRIANGULATION gives me IfcGeom::BRepElement. Using get_native() in the iterator works! Is it possible to just load specific elements by their GUID into the iterator? I saw, one could filter elements like 'IFCWALL' etc., but by guid..? I am sorry, just starting off with IfcOpenShell, still need to wrap my head around some things. Great to hear, that the ray intersections might be updated, looking forward to that!
I want to select elements by a ray. Now loading the whole IFC file in my geometry tree is overkill, I just need two elements by guid. tree.add_element() needs an IfcGeom::BRepElement. How can i create such an element from my shape? I see that using USE_PYTHON_OPENCASCADE and USE_BREP_DATA gives me brep_data and a TopoDS_Compound. I also tried using the iterator, but dont know, how two only add two elements instead of the whole file. Thank you!