I was wondering what is the recommended way of transferring a variable from a function to another function in python.
In this case I'm using the python generator, and I'd like to transfer a spline object from the main function into the message function to be accessible by a button. I tried using global variables but I get the message:
"ReferenceError: the object 'c4d.SplineObject' is not alive"
Thanks for any insights