Hi @stefstap
For reference to anyone reading, what happened is that pressing { Scene Properties -> IFC Geometry -> IFC Georeferencing -> Add Georeferencing } had no effect.
I've done my best tracking the code and found that that behavior is due to this line of ifcopenshell Python API.
It appears that according to the official designation, the ContextType attribute of an IfcGeometricRepresentationContext must be non-empty ("Model" in this case for the World Coordinate System of the IfcProject), whereas in your file it's empty. Quoted from the provided link:
NOTE The inherited attribute ContextType shall have one of the following recognized values: 'Model', 'Plan', 'NotDefined'.
So, changing the tenth line of your IFC file in a text editor from:
#2= IFCGEOMETRICREPRESENTATIONCONTEXT($,$,3,0.010000000000000,#37,$);
To:
#2= IFCGEOMETRICREPRESENTATIONCONTEXT($,'Model',3,0.010000000000000,#37,$);
Just amended your IFC file and made the Add Georeferencing button work as expected ?
I guess it's your software vendor's fault... However, I agree that from BlenderBIM side, maybe a message to the user such as "A valid geometric representation context was not found within the IFC file" would provide a better experience for when handling invalid IFC files. @Moult any thoughts on this? Am I missing anything?