Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with selecting element in IFC files v4.3 #251

Open
Ser1ous opened this issue Jan 10, 2024 · 1 comment
Open

Problem with selecting element in IFC files v4.3 #251

Ser1ous opened this issue Jan 10, 2024 · 1 comment

Comments

@Ser1ous
Copy link

Ser1ous commented Jan 10, 2024

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)

@agviegas
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants