Is there a way for me to drill down to a specific session of Revit on a users’s computer? For example, if I have two instances of Revit 2024 open on my computer with two different models (or multiple models in each session), is there a way to filter out the one I’m not interested in and just see all the records from open to close of that session of Revit?
We rolled our own metric tracking add-in once upon a time and we had a value called a “session id” that tracked this and was recorded along with any record that went into the database. It’s not something that happens a lot, but if I wanted to just focus on what a user was doing in that one session of Revit or how long did they have that session of Revit open, this was really helpful. In *revit-user* you sort of get this for free with the name of the journal file, but aside from time bracketing and trying to get just the right set of filters in place, it doesn’t seem possible for Revit events. Am I overlooking something or is this something you’ve considered implementing in the past and ruled out?
There should be the file name and project properties that would separate the session data in Revit by project.
Have you got some specific events in mind that you are looking at tracking by session. Its not that difficult to include a session id for a Revit session if that would be valuable, but just making sure the existing methods of tracking things by project would not be sufficient.
Well, the use case I had in mind was tracking how long people were leaving a session of Revit open without closing it. The only other use case I can think of is related to this Revit 2024 schema conflict fiasco where for certain builds of Revit 2024 it seemed like the schemas stayed in memory during a session and could cause conflicts with subsequent files being opened in the same session.
The first issue was something that came up in conversation about best practices for working in Revit and I wanted to understand how people were working in Revit in our company even after we tell them to close Revit daily. The second is just something that occurred to me as I was trying to think of other uses for this, to be honest.
When we had this for our own tool, we thought it would just be an easy way to see all the record from that session. Filtering by user and project could turn up many different sessions of opening and closing (or crashing) the same model over the course of a day. A session ID would guarantee a single session of records without having to bracket by time or scan for multiple “Open” actions.
It’s not a dealbreaker or anything, just curious if I was overlooking it or if anyone else had asked about it.
I think another thing that having a session id would provide is the ability to differentiate between what’s going on in multiple sessions or instances of Revit that a single user has open at the same time. For instance, if I have two models from the same project, same release of Revit, open on my laptop at the same time vs. if I have those two models open in the same session or instance of Revit.