xeokit / xeokit-sdk

Open source JavaScript SDK for viewing high-detail, full-precision 3D BIM and AEC models in the Web browser.
https://xeokit.io
Other
738 stars 291 forks source link

About module's unity #400

Closed thedevilsgrave closed 4 years ago

thedevilsgrave commented 4 years ago

How do I batch operation units. For example, my model has many cells, how can I select multiple cells at once?

xeolabs commented 4 years ago

Try Scene#setObjectsSelected() - https://xeokit.github.io/xeokit-sdk/docs/class/src/viewer/scene/scene/Scene.js~Scene.html#instance-method-setObjectsSelected