Pythonscript Grasshopper sending data forth and back

dear Zoo,
i found out that it is possible to send some sticky values from rhinopython script to
ghpython component of active grasshopper definition by triggering grasshopper to recompute.

but when trying to send some geometrydata back from gh to the same script during runtime via sticky, it isn’t updated. It only gets the values of the previous execution.
so rhinoscript doesn’t get back current values calculated by grasshopper during runtime.

what i have tried so far:
baking the geometry directly in gh with a simple custom bakingcomponent → baking process isn’t recorded to Rhino undo stack

automation with grasshopperplayer → runs to slow, as grasshopper has to deal with quite heavy meshes and its intersections

what do you think?

best, heiko

Can you send a sample script that illustrates the issue?

Hi Gijs,
surely. I’ll send a rhinpython script and corresponding gh definition later this day

Tried to setup a simple sample, but things got even stickier… will send it asap

I went nuts when packing my bag:
packAndCheck.py (673 Bytes)
myBag.gh (3.5 KB)