Especially the web viewer + fetching data when clicking on elements. I have seen the documentation on this, but how to link it with part 1 would be amazing if there is some guidance!
Hey Rick, glad youâve found it useful!
Alan, who has created that tutorial, is on holiday for a couple of weeks, so you might have to wait a bit for part 2!
In the meantime, I can suggest having a look at the current frontend code that has such functionality:
Anyway, we also made a demo on the AEC Tech hackathon last weekend, and I built a super simple app that uses our viewer package and has the selection and double click events set so you can have a look at that too meanwhile!
You can find the code here: GitHub - specklesystems/aec-tech-presentation
And the live demo app here: Speckle Web Starter
The demo stream we used for this is: Speckle
Youâll have to paste itâs id (ab58d88a61) and youâll also need a token (you can create it on your profile page in the speckle web app).
Itâs an oddly specific demo app, but it should give you a good idea of whats going on. Hope it helps!
Sorry your last comment must have âfallen through the cracksâ and it was left unanswered.
I guess you mean being able to receive several different commits from the viewer and then alternate between them?
As far as I am aware (please @dimitrie correct me if I am wrong), there is currently no exposed way of doing this, although it is already on our list of tasks to tackle.
In our AEC Tech presentation demo, we did something similar, but in that case we were fully reloading the entire scene on every change (which is a bit of overkillâŚ)
I cannot give you a timeline for when this will be added to the viewer, but my hope is that it will be soon. Itâs been needing some love for a while.
You havenât missed anything! We (I) havenât gotten around to doing so yet⌠canât believe itâs been 20+ days already!
Part II is still pending the Viewer improvements, which I think we started this week. Once that is set, Iâll get going on writing it.
Iâm also working on another nice Speckle app, which is not going to be a tutorial (at least initially) so it wonât be considered âPart IIâ but would have much of the functionality I wanted to cover in that guide. Iâll be sure to ping you on this thread once we release it