
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
during command execution you can check to see if there is anything in the journal data map and use that as an indicator of being in playback (assuming you're doing some journal stuff where you're either storing some information in the journal data map or reading from it.) In other areas of an external application, there are times I'd like to check to see if we're in playback or not.
I've implemented a nice journalling tool for use in regression coverage which leverages the journalling sample in the SDK: cool right?
One issue that I'd like to get sorted (and would like to do it in a less hacky way) is to repath to local for some text files I need based on whether Revit is in journal playback mode. I seem to recall an api property that woudl tell us if Revit was in playback or not but I can no longer find it (could have been many moons ago).
QUESTION: Is there a property or function available via the API that would tell us if Revit was in journal playback?
In the meantime, I'm throwing a regtest file in my test folder and checking for its presence but that seems hacky. I can also think up about 5 other hacky ways to do it, just hoping for a nice little function or property to check.
Solved! Go to Solution.