Dear AC community,
I received an IFC file originating from AC24 in 2x3 format.
It will not open in some software:
The reason is the misuse of Axis.
Where can I file a bug report without being an AC user? (upload the file?)
Lukas
citing:
The error message suggests that the creation of a grid's W axes failed:
self.create_grid_axes(grid.WAxes, w_axes, grid_obj)
To fix this, you can search for IfcGrid in the file, and use the IFC debug panel to create a shape on the grid axes until it fails. In particular, this grid, with this axis, with this polyline is the culprit:
#622480= IFCGRID('23uIUjAukv$NeSa166u94j',#30,'Raster 001',$,$,#622421,#622477,(#622462),(#622442),(#622452,#622432,#622422));
#622422= IFCGRIDAXIS('GG',#622427,.T.);
#622427= IFCPOLYLINE((#622423,#622425));
#622423= IFCCARTESIANPOINT((0.,0.));
#622425= IFCCARTESIANPOINT((0.,0.));
As you can see, the polyline is invalid with coordinates from 0 to 0. Just delete the grid axes and you can fix it. Also, please file a bug with Graphisoft so they can fix it.
I also suspect grids are misused here. ArchiCAD does not have a site boundary tool (crazy right?). As a result, many ArchiCAD users abuse grids to draw boundaries, which I think is the case here. This leads to invalid axes, using usages of "WAxes" where there shouldn't be.
Clearly, our industry has a long way to go before we can actually trust our BIM data.