I’m developing Rhino plugin using Rhinocommon. And to prevent data loss I need to keep Rhino running until a data processing is finished.
I tried to override PlugIn.OnShutdown() method. And indeed, I can finish data processing from here. But there is no way for a user to save the results because the Main Rhino window is already closed when OnShutdown() is called.
Does anyone know if there is some way to keep Main Rhino window open in this case? Or are there better places to handle Rhino closing?