[BUG] Ifc file with unexpected line breaks #567
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
early-binding-generator
Related to early binding generation
IFC
Content related to Industry Foundation Classes (IFC) functionalities
Describe the bug
I just came across an IFC file that splits information that belongs to one IfcEntitiy into multiple lines (see screenshot).
OIP is not able to deal with files that are written in this format.
Screen shot

Additional context
I'm probably not allowed to share the whole IFC file but this issue is quite easily reproducible by adding line breaks to some existing IFC files.
Solution
First it needs to be checked if this format is officially allowed. I could imagine it is since there is always an ";" at the very end of every IfcEntity which can be used to identify the start of the next IfcEntity.
In case this is an official way to write an IFC file we should also adapt the OIP to be able to read this.
Currently it is assumed that IfcEntities are not distributed over multiple lines.
The text was updated successfully, but these errors were encountered: