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

Error when extracting properties (viewer.GLTF.exportIfcFileAsGltf) #212

Open
vulevukusej opened this issue Apr 19, 2023 · 1 comment
Open

Comments

@vulevukusej
Copy link

vulevukusej commented Apr 19, 2023

With a particular file I get the following error if I set getProperties to true in the viewer.GLTF.exportIfcFileAsGltf function:

web-ifc-api.js:44504  Uncaught (in promise) TypeError: Cannot read properties of null (reading 'value')
    at 639542469 (web-ifc-api.js:44504:167)
    at IfcAPI2.GetLine (web-ifc-api.js:62076:84)
    at web-ifc-api.js:62164:37
    at Array.forEach (<anonymous>)
    at IfcAPI2.FlattenLine (web-ifc-api.js:62160:23)
    at IfcAPI2.GetLine (web-ifc-api.js:62078:12)
    at web-ifc-api.js:62164:37
    at Array.forEach (<anonymous>)
    at IfcAPI2.FlattenLine (web-ifc-api.js:62160:23)
    at IfcAPI2.GetLine (web-ifc-api.js:62078:12)

I've sent the file to [email protected] using swisstransfer.com

@agviegas
Copy link
Collaborator

Hi, we could take a look, although FYI it is likely that the glTF workflow will be deprecated very soon and substituted by components, which is way faster and consume much less memory. All this will be released with the brand-new documentation covering everything this summer.

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