View Full Version : Accurate simulation time calulations
FluidEdge 10-11-2010, 01:31 PM Hi is there a way to print out the time between pushing play and when the time slider stops to the console/pop up window etc - i'm looking to get data on simulation times for dynamics like cloth and fluids without having to cache and read file creation times etc. Is there a neat method/tool?
thnaks!
|
|
john_homer
10-11-2010, 08:41 PM
check out the maya help on the command
timerX
.j
FluidEdge
10-12-2010, 12:45 PM
Cheers - Something like this works OK. I'll make this up into a proper script with a UI for start and end frame sometime.
$startTime = `timerX`;
play -w;
$totalTime = `timerX -startTime $startTime`;
print ("Total Time: "+$totalTime+"s\n");
CGTalk Moderation
10-12-2010, 12:45 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.