I am following the ‘Create your first Speckle App’ tutorial.
I have succesfully embedded my speckle commit within streamlit. My question is, when it loads up for the first time, it loads up with the side panel showing, is there a way for the side panel to not show by default within the first view. Additionally, in the tutorial is shows very cleanly on a dark background with not many tools shown- mine shows all tools on a light background- is this just because the viewer has since been updated.
Finally, my commit has say 5 layers, is there a way I can add a default filter in the viewer when it opens within my app, so I can isolate it down to a single layer.
Hi! taking advantage your questions and besides the great Jonathon’s answer, could I ask you what do you mean with “colour different layers with different colours”? What would you like or how would you expect to do that? What are you trying to achieve?
For example we assign some colors when you filter by different values. But I think you are talking about different thing. Could you provide more info? Thank you!
The interaction can be linked, and colouring by Layer is also possible.
Using the embedded viewer, however, comes with some drawbacks.
You won’t have control over the colours used for each Layer value. They are programmatically determined, so syncing the two “interfaces” won’t be possible at this time.
Also, as the interaction will be URL based, changing that value will reload the viewer each time. Other users have seen simple interactions as a small UX cost. This can be jarring for the user for more frequent or intricate interactions.