Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 18-05-2007, 01:30 PM   #1
Rhetoric Camel
Subscriber
 
Rhetoric Camel's Avatar
 
Join Date: Dec 2006
Location: Plattsburgh New York
Posts: 1,222
Thanks: 6
Thanked 28 Times in 23 Posts
Default Timer?

I was wondering if there is such thing as a timer, one that would time the how long a certain project is open and count the time you've worked on that specific project. I think it'd be interesting to know how long I've worked on something. I never really keep track of time when I'm working on projects so I kind of get lost in it. Maybe theres one built into maya that I don't know about?
__________________
- Mike

http://rhetoriccamel.blogspot.com
Rhetoric Camel is offline   Reply With Quote
Old 18-05-2007, 10:31 PM   #2
marlonjohn
Subscriber
 
Join Date: Feb 2006
Posts: 1,937
Thanks: 0
Thanked 8 Times in 8 Posts
Default

haha i have never heard of something like that though that would be good if there was one why dont you just download some program or buy a cheap timer and that would be as good :p
marlonjohn is offline   Reply With Quote
Old 19-05-2007, 01:20 AM   #3
Jr.Who
 
Posts: n/a
Default

If youŐre using a Mac, I have a great solution for you. ThereŐs a widget called TheDailyGrind that has some great features. HereŐs the link for it:
http://microcore.dk/TheDailyGrind/index.php

If you just want an app instead of a widget (which I donŐt know why you would ), check out this one:
http://www.theratrace.eu/

RatRace has some features that TheDailyGrind doesnŐt have, but I like the widget. I still havenŐt tried RatRace yet, but I might soon.
  Reply With Quote
Old 19-05-2007, 02:17 AM   #4
Rhetoric Camel
Subscriber
 
Rhetoric Camel's Avatar
 
Join Date: Dec 2006
Location: Plattsburgh New York
Posts: 1,222
Thanks: 6
Thanked 28 Times in 23 Posts
Default

Thanks for the replies

Jr. Unfortunately, or fortunately depending on how you look at it, I'm not using a Mac.

Marlon, I've thought of setting a timer, but I never think of it until it's too late. It would just be handy for one to be built in.

Any mel script writers out there that think they can make one? haha
__________________
- Mike

http://rhetoriccamel.blogspot.com
Rhetoric Camel is offline   Reply With Quote
Old 19-05-2007, 02:17 AM   #5
severinianthony
Registered User
 
severinianthony's Avatar
 
Join Date: May 2005
Location: United States
Posts: 513
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Timer?

For something that times how long maya has been open, no, not to my knowledge.

Should you ever care to know your render times, however, use your computer's "search function," search for a file called "mayaRenderLog" (or just "render log"). In that you can see all sorts of render stats, including how long it took to render individual frames.
__________________
severinianthony is offline   Reply With Quote
Old 19-05-2007, 12:35 PM   #6
Funky Bunnies
Subscriber
 
Funky Bunnies's Avatar
 
Join Date: Mar 2005
Location: Illinois, USA
Posts: 250
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I was actually talking to one of my buddies about this a couple days ago. There really is no good way to do it within mel.

I wrote a quick and sloppy hack though. The problem with this method is that it does not take into account switching files, crashing, or the idle times (and the easy fix for that can often eat up all of your CPU )
All it does is log how long Maya is open into a file in the same folder as your scene file, appending it if you're working on the same scene file for more than 1 sitting.

Anyway, here's how installation works.

Open up Maya, open the script editor (the double-rectangle looking icon at the bottom right), enter this code, and press ctrl+enter.
PHP Code:
{
/*This simply edits your usersetup.mel file to enable this script to run when you close Maya
if you want to disable it put two slashes "//" infront of the line.*/
    
string $fileName = (`internalVar -userScriptDir` + "usersetup.mel");
    
int $fileId = `fopen $fileName "a"`;
    
fprint $fileId ("\n scriptJob -pro -e \"quitApplication\" \"TIMERJUNK\"; \n");
    
fclose $fileId;

now put this TIMERJUNK.mel file into the my documents/maya/x.x/scripts/

close Maya and open it up again and it will write the .time file which you can open with notepad or wordpad.

I dunno how useful it will actually be .
There's not much more I can think to do in mel though... a more robust FUNCTIONAL timer would probably have to be done in the maya API.

Last edited by Funky Bunnies : 19-05-2007 at 12:38 PM.
Funky Bunnies is offline   Reply With Quote
Old 20-05-2007, 04:09 AM   #7
Rhetoric Camel
Subscriber
 
Rhetoric Camel's Avatar
 
Join Date: Dec 2006
Location: Plattsburgh New York
Posts: 1,222
Thanks: 6
Thanked 28 Times in 23 Posts
Default

I dont' know if thats exactly what I'm loooking for, I might have to give it a shot just to see how it works.
Thanks
__________________
- Mike

http://rhetoriccamel.blogspot.com
Rhetoric Camel is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.