View Single Post
# 3 20-04-2003 , 02:31 AM
Registered User
Join Date: Apr 2003
Posts: 21
hi,
thanx...i checked the website and the code was currentTime. and in the mel command reference, this was the description

When given a time argument (with or without the -edit flag) this command sets the current global time. The model updates and displays at the new time, unless "-update off" is present on the command line.

when i type the command in the script window, it returns a number like 22, 10 etc. what is this number?

maybe it will help to know what i am trying to achieve...i want to make a clock according to the current time of the computer. according to the hours, minutes, and seconds, i want to calculate the degrees of the hands and draw them. showing the time. thanx a lot.

P.S. i am new to maya...i don't even know if this kind of thing is possible here or not. i thought it would be because MEL is similar to programming. if not, please tell me. thanx.