Maya Api, pre timechange callback?


#1

Hi,

Does anyone know if there is a callback for right before a time change is made.

Id like to run a function right before maya changes the time. aka, preTimeChange.

Im aware of this one, but I think it send the event after a timechange is made.
MDGMessage::addTimeChangeCallback

Thanks for any ideas!!


#2

Basically Im just looking for a way to capture the viewport image buffer before a frame change. If theres another approach, Im all ears.

I have the image capture side worked out, just not the triggering mechanism.

Thanks!


#3

after a time changed but most likely before a view redrawn.


#4

Thanks DenisT, Ill need to do some more testing :slight_smile: