I've created a tool to insert frames during playback in order to do realtime tweaking of animation timing.
It works as planned, but the keyframe tickmarks displayed in the timeline don't update during playback.
I've attempted to start/stop play, force update the timeControl, and
both of these actions, but the only time the timeline is updated is when playback is
stopped (and not restarted immediately). Sample code for inserting KF and attempting to update the timeline:
string $cmd = ("keyframe -time \"" + $frameLocation + ":\" " + "-relative -timeChange " + $timeChangeAmt + " -option over " + $curCharSet);
play -state off;
timeControl -e -forceRefresh $gPlayBackSlider;
Any suggestions would be appreciated.