Persisting data that is dynamically generated in Python component

HI @Matthew_Breau

I wrote an example that shows how to do this with GhPython. Overriding Read() and Write() works with compiled add-ons. Here is an example that you can compile to see in action.

Also, the second sample shows the pickle module in action, so that you can serialize easily more complex data.

read-write.gh (9.6 KB)

4 Likes