// // Written by Andrew Chapman - Jan 2003 - chapman@technolumiere.com // // This simply goes to the specified start frame, and plays through time // up to the specified end time. Good to put as a pre-render command if // you're having trouble with particles or expressions not updating correctly // when starting a render within a sequence. // // For example, stuck this in as your pre-render command: // runupScene 1 `currentTime -q` // // There is a builtin command in Maya called 'runup', but this only works for // dynamics objects. This script updates everything in the scene. // global proc runupScene(int $startframe, int $endframe) { int $i; for($i=$startframe; $i<=$endframe; $i++) { currentTime -e -update true $i; } }