Open Ser1ous opened 9 months ago
Hi @Ser1ous
We have officially released the new library components on September 20. This library substitutes web-ifc-three and web-ifc-viewer. Both WIV and WIT will remain up, but they will be deprecated and won't be maintained any longer. You can find the new docs here.
All our efforts are going towards components now. The API is very similar, so I strongly suggest you make the leap and start using it. If you still face this issue with it, you can open an issue there and we'll take a look.
On this demo: https://ifcjs.github.io/web-ifc-viewer/example/index I tried to upload IFC file v4.3 The file loaded without any problem, but when I tried to select any element by double-clicking I caught the error:
Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'FromRawLineData[this.modelSchemaList[modelID]][rawLineData.type]')
The same error I catch in my project on this function:
await viewer.IFC.getSpatialStructure(model.modelID, true)