*Scenario:*
Building a custom Sequencer in Maya. I need to get a callback when maya 
plays the last frame of the timeline in order to set the timeline with 
other range. 

*Problem*
Checking if [Current Frame == Last timeline frame] does not work because 
when you play at certain fps, Maya sometimes jumps some frames. so 
sometimes I dont get True with [Current Frame == Last timeline].

*What I've tried*
- Setting playback looping options to "Once" everytime user click on Play, 
so it always plays the last frame. Problem: sometimes the last frames 
appears to be stuck for some milliseconds. Its not a continuous Sequence.

- Extend timeline for 30 Extra frames so I have to check if [Current Frame 
*>=* Last shot frame]. It plays very contnuous without any stucking frame 
but, Problem: sometimes plays a "fake" frame that is not part of the 
current Shot.


I think I need to know if there is a script job or an Open Maya callback 
that is triggered everytime Maya achieves the last frame in order to 
execute their looping playback options.

Thanks a lot for your helping.

Cheers,

Andrés




-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/5ff06f46-36a8-47be-b832-5f0f50b36089n%40googlegroups.com.

Reply via email to