Skip to content

Storeys TreeView and pruneEmptyNodes #1860

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

Open
jenbuzz opened this issue Apr 14, 2025 · 0 comments
Open

Storeys TreeView and pruneEmptyNodes #1860

jenbuzz opened this issue Apr 14, 2025 · 0 comments
Labels
question Further information is requested

Comments

@jenbuzz
Copy link
Contributor

jenbuzz commented Apr 14, 2025

An error is logged in a TreeView of type 'storeys' when using it
combination with the setting 'pruneEmptyNodes: true'.

Using a clean "xeokit-bim-viewer" with updated sdk:
"@xeokit/xeokit-sdk": "^2.6.73".

Go to StoreysExplorer.js and add "pruneEmptyNodes: true," as a setting
to the new TreeViewPlugin.

Build code. Open in browser.

Go to "Models" tab and click "Unload all". See error in console: "Failed
to build storeys hierarchy".

Can this error message be removed?

@jenbuzz jenbuzz added the question Further information is requested label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant