@roberto wrote:
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?
Posts: 1
Participants: 1