I made a few custom buttons that launch Python scripts by running for example, the following command:
Some of these scripts would need to save some data (points, curves, text, etc) within the Rhino project (or document, I’m not entirely sure of the vocabulary here) so these data are available for the next script called.
How would you save for example a simple string variable so it is accessible for the next Python script? Could this data be automatically saved when saving the project as a 3dm file? That would be useful in case of crash at some step of the processing…