Does anybody know how to make a countdown timer in Maya?

Does anybody know how to make a countdown timer in Maya?

Anonymous
Not applicable
2,234 Views
4 Replies
Message 1 of 5

Does anybody know how to make a countdown timer in Maya?

Anonymous
Not applicable

Does anybody know how to make a countdown timer in Maya? Your help is appreciated!

0 Likes
Accepted solutions (1)
2,235 Views
4 Replies
Replies (4)
Message 2 of 5

mspeer
Consultant
Consultant
Accepted solution

Hi!

 

Use Type.

Inside Node "type": Generator -> ... (Python Expression should be the best way)

Message 3 of 5

hyphenate
Observer
Observer

Would you care to elaborate on what exactly this python expression would be to generate a basic timer?

 

All of the research I've done yields python scripts that have multiple functions, and many even external callbacks to do this (not inside of Maya), but there is simply zero documentation out there that I could find on a self-contained python expressions that would be the solution here.

 

Any insight you could share would be fantastic.

 

Thanks!

0 Likes
Message 4 of 5

mspeer
Consultant
Consultant

Hi

 

Here a simple example:

 

10 - cmds.currentTime(query=True)

 

 

Another simple solution would be to use the "Frame Number" mode and modify the Time input.

 

 

0 Likes
Message 5 of 5

andymc4997
Advocate
Advocate

Hello @mspeer

 

I'm trying to animate both a digital timer and a temperature reading. Would you care to please give a couple examples in Python for how I might go about that?

 

I need the temp to not have a decimal place, and the timer to be standard minutes : seconds. 

 

Both readings count up to 400 and 4:00 respectively from a certain frame to the last.

 

Thank you!

0 Likes