Complex UV Layout in Maya
Over the last couple of years UV layout in Maya has changed for the better. In this course we're going to be taking a look at some of those changes as we UV map an entire character
# 1 18-05-2007 , 12:30 PM
Rhetoric Camel's Avatar
Subscriber
Join Date: Dec 2006
Location: Plattsburgh New York
Posts: 1,222

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?

# 2 18-05-2007 , 09:31 PM
Subscriber
Join Date: Feb 2006
Posts: 1,937
haha i have never heard of something like that though that would be good if there was one user added image why dont you just download some program or buy a cheap timer and that would be as good :p

# 3 19-05-2007 , 12:20 AM
Jr.Who
Guest
Posts: n/a
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:
https://microcore.dk/TheDailyGrind/index.php

If you just want an app instead of a widget (which I donÕt know why you would user added image ), check out this one:
https://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.
user added image

# 4 19-05-2007 , 01:17 AM
Rhetoric Camel's Avatar
Subscriber
Join Date: Dec 2006
Location: Plattsburgh New York
Posts: 1,222
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

# 5 19-05-2007 , 01:17 AM
severinianthony's Avatar
Registered User
Join Date: May 2005
Location: United States
Posts: 513

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.


# 6 19-05-2007 , 11:35 AM
Funky Bunnies's Avatar
Subscriber
Join Date: Mar 2005
Location: Illinois, USA
Posts: 250
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 user added image)
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 user added image.
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 11:38 AM.
# 7 20-05-2007 , 03:09 AM
Rhetoric Camel's Avatar
Subscriber
Join Date: Dec 2006
Location: Plattsburgh New York
Posts: 1,222
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

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads