Replies: 4 comments 13 replies
-
Hi @brinpat. |
Beta Was this translation helpful? Give feedback.
-
Hi @raplemie it comes from: https://www.itwinjs.org/sandboxes/iTwinPlatform/Zoom%20to%20Elements I believe my code for the widget is the same, though note the code for the app will be different. |
Beta Was this translation helpful? Give feedback.
-
Looks like an assembly scope problem.
Select this big blue element and you can successfully zoom to it, because it's not an assembly: Select one of the little elements coming out of the top of the blue element: Note that all of those elements become hilited when you click on one of them, because they all belong to the same assembly. The assembly element itself has no geometry, therefore no bounding box, therefore nothing to zoom to. @Ellord207 did anything about this sample change when upgrading it? Did it really used to work using top-assembly scope to select assemblies with no bounding box? |
Beta Was this translation helpful? Give feedback.
-
Thanks all and thanks @Ellord207 this has been fixed once using the sandbox. After updating the code I was not adding the asset element into the table which was the issue. |
Beta Was this translation helpful? Give feedback.
-
When clicking on an asset and trying to use Zoom to Elements widget, nothing happens. This feature was working but seems to no longer work.
I am expecting to be able to change the view using a selected asset as a view pivot.
Beta Was this translation helpful? Give feedback.
All reactions