Plugin developer. From Rhino plugin scope, is there any way to tap into RIR’s connection to Revit, so that I can obtain info about current Revit session (Document).
I guess that would be possible if you guys had some sort of public static class that would hold a reference to Revit Document. Thoughts?
Ps. Just to give you some context. I am working on a plugin for Rhino that reports on basic usage stats. One of the things that I would like to do, is report if Rhino was launched from Revit, and if so what Revit file was modified. I can get the info about Rhino getting fired from Revit, via
Process.GetCurrentProcess() which returns “Revit” rather than “Rhino”. So if I am in Rhino 7 and process name is “Revit” I know we are in RIR. Now, I would like a little more info about Revit session.