-
Notifications
You must be signed in to change notification settings - Fork 236
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
typesMap property #204
Comments
The entire file has been deleted in this commit. Depending on how you want to use all the types, there are probably more efficient ways to get them. Do you care to share your purpose/code? |
So this can now be acquired from the web-ifc api using the GetIfcEntityList method. i.e. You need to provide your model ID as the list of ifc entities may be different depending on what schema your model is |
Hi @beachtom it gives me the following error: Uncaught TypeError: Cannot read properties of undefined (reading 'ifcManager'). I made some changes to the expresion: await viewer.IFC.loader.ifcManager.ifcAPI.GetIfcEntityList(model.modelID) and gave me an array with ids, but they don't have the names of the types associated like typesMap property did. |
Sorry should have been viewer.IFC.Loader.ifcManager.getIfcAPI().GetIfcEntityList(modelID). |
Hello everyone!
Today I installed the latest version of web-ifc-viewer in one of my apps.
For some reason, the property typesMap stop working and now it gives an error (the result of applying it is undefined).
It is something related to the upgrade? Is there a way to substitute that expression to obtain a similar result?
Thank you
The text was updated successfully, but these errors were encountered: