I have some numbers of carbon data that I have compiled in grasshopper along with their category names. If I send these numbers as detached objects to a stream, how would I receive these numbers in a specklepy/streamlit website so I can make a graph. I had a look at the sending and receiving docs for specklepy but it’s a bit confusing.
It’s as simple as sending [‘wall’: 1, ‘floor’: 10, ‘roof’: 5] and then getting back those numbers inside python as variables.
It is not that hard actually. Only catch is if an object is detached, it has an additional “@” as a prefix. For instance:
You send “Wall” as a detached object and it’s value is “1”. You can access it as: