How to automatically create StreamIds and show models in the viewer

For a university project I need to create a website where I can choose between different building scenes.
Each scene has a SpeckleViewer embeded in which a small 3D Model is being shown. The source of the Models are .3dm models which we have stored in NextCloud

Right now we are using the Model URLs hardcoded in our code to show the models in the viewer. However, since the number of scenes is supposed to increase over time I am trying to automate the URL generation so that my Code can generate a viewer whenever a certain scene is chosen by the user.

Thank you very much for your help.

Hi @IliasM253

You would need to upload said .3dms from a host app using one of our connectors first or by uploading them from our webapp in one of your projects.

Or maybe I’m not understanding the issue, in which case please let us know and provide us with some more details

Cheers

I was feeling a little confused when I wrote the post, but I think I’ve figured everything out now. Thanks!

I’ll probably ask more specific questions in a different thread.

1 Like