I have a script that renders a sequence of frames (code below). How do I make it so after it switches to the next frame there is a 10 second delay before it starts rendering?
import maya.cmds as cmds
import maya.mel as mel
startFrom = 102
renderTill = 104
mel.eval('currentTime %s ;'%(startFrom))
while(startFrom < renderTill):
mel.eval('renderWindowRender redoPreviousRender renderView;')
startFrom += 1
mel.eval('currentTime %s ;'%(startFrom))