Some questions about expanding 'box selection'

When I use the 3d viewer extension ‘Box Selection’, I find that even though my selection box fully contains some components, the components are not selected and when I refresh the page or log back in, the components that are not selected are not the ones that were previously unselectable, which is my model link model.rvt.
How can I solve this problem?
Looking forward to a reply!

Hi @zm1072223921

Because BoxSelection is not being used other than as an example, it’s not really battle tested so there might be a bug you’re experiencing. Can you please upload your model.rvt to speckle to we can have a look and see what’s going on?

Cheers

I uploaded two model files, here are the links speckle.xyz speckle.systems
However, like you said, the 3d viewer on speckle’s website doesn’t have access to the ‘BoxSelection’ feature, so I accessed the ‘BoxSelection’ feature in my local 3d viewer and was able to visibly show the problem, here’s the video recording I made video
Thank you for your reply. :grinning:

Hi @zm1072223921

Thank you for uploading the file. I’ve had a look and there is a problem indeed with how the top level BVH provides intersected objects to the client code.

We will put this issue up on our priority list and keep you posted!

Cheers

1 Like

Thank you for your answer.
I will look forward to the next update! :beers:

1 Like

Hello, any progress on this issue, I’m looking forward to resolving it!
Looking forward to your reply!

Hello, the issue is still one of high priority and we will handle it soon. We’ll keep you posted!

Hi @zm1072223921

We’ve just released viewer version 2.23.1 which fixes the issue you were experiencing .

Additionally we’ve made several improvements to the BoxSelection extension including being able to toggle realtime selection on/off. I suggest you make use of the updated extension as it can perform several times faster in some scenarios.

Cheers

Hi @alex
Thank you for your reply, I was very much looking forward to opening the new version and found that the issue was fixed perfectly! Thank you very much!
In the meantime, I stumbled upon another issue where some of the components disappear when the ‘ExtendedSelection’ function is called (i.e. dragging the component), actually moving the coordinates far away, which is a very obvious error, is there any solution to fix this?
Here is the link to my model, you can see the toilet on the roof disappeared after it was moved (video).
Looking forward to your reply again!

Hi @zm1072223921

I had a look at the your model and the only issue I could find when dragging the same objects was with the shadows. Due to an oversight on our part, instances do not properly update their shadows when being moved. This is fixed in this PR and you can better see in the included before and after videos what I am talking about. This fix will become available in the next viewer release

However, I cannot reproduce the issue you are showing in your video. Here is a live example. Please make sure you are using the latest version of the ExtendedSelection extension (available in the live example) and if you still get it, please let me know the steps to reproduce it

Cheers