Access active grasshopper document from outside

Hi,

Is there a way to access the active Rhino and Grasshopper Document from outside? Basically, I want to change parameters of components from outside. I know I can start a Rhino from outside and keep access to it, but is it possible to get access to a currently running one?

Technically it’s possible to inject into an process and use CLR APIs to load something into the current AppDomain. But it’s complicated.

I’d recommend you to have a helper library, loaded by GH, that exposes interfaces for external manipulation.

Thank you for the reply. I will try that