Reference·JavaScript · @bimworks/viewer3dJavaScript

MultiSelectMode

Type alias in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Type alias

TypeScript#
type MultiSelectMode = "SHIFT" | "AUTO";

"SHIFT": multiselection requires the shift key to be pressed. Not using the shift key resets the selection to the clicked object. Empty-space clicks also reset the full selection state. "AUTO": objects are toggled when clicked, no need to press the shift key. Empty-space clicks do nothing. The only way to clear the selection is through API calls.