Journalysis
Journalysis copied to clipboard
Improve Journal.LoadedModels
If we want to track all documents opened in a session, we'll need a list of all possible cases and how they can be identified in a journal
~~Open from Startup Page:~~
Jrn.Command "StartupPage" , "Dieses Projekt öffnen , ID_FILE_MRU_FILE2"
Jrn.Data "MRUFileName" , "THE_PATH"
~~Open from Ribbon (CommndID varies depending on selected option):~~
Jrn.Command "Ribbon" , "Öffnet ein Projekt , ID_REVIT_FILE_OPEN"
Jrn.Data "File Name" , "IDOK", "THE_PATH"
~~Open by drag and drop:~~
Jrn.DropFiles MainWnd , ""
Jrn.Data "Dropped File Name" , "THE_PATH"
All of the above done for project files, but need to test if all of the above work for family files as well. Will also need to investigate how to deal with file names of new local models, currently we're using the central file name. Maybe it's not a bad idea to keep it that way, since we can then track interactions with the central model for multiple users.
Edit Family:
Jrn.Command "Internal" , "Bearbeitet die Familie , ID_EDIT_FAMILY"
Jrn.Directive "DocSymbol" , "[THE_FAMILY_NAME]"
Need to investigate for the following cases:
- New project/family (from startup page & ribbon)
- Save As during session
- New local
- API background open
~~Once this is done, move the code to the journal class.~~
We'll also want to have a LoadedModelEvent
for closing a model.
This node is actually painfully slow. Need to investigate what's causing that.