Is there a way to get the list of all running rhino instances from an external program?

Hi to everyone,

i want the list of all opened documents (.3dm files) .

I use this code (C#) to get the path of opened document:

string rhinoId = “Rhino5x64.Interface”;
Rhino5x64.IRhino5x64Interface rhino;
System.Type type = System.Type.GetTypeFromProgID(rhinoId);
rhino = (Rhino5x64.IRhino5x64Interface )System.Activator.CreateInstance(type);
dynamic scrObj = rhino.GetScriptObject();
string FileName = scrObj.DocumentPath + scrObj.DocumentName;

But, this code return only the first document opened.

Is there a way to get the list of all running Rhino instances and all opened files?

Does this help?

https://msdn.microsoft.com/en-us/library/1f3ys1f9(v=vs.110).aspx