Counting Time

Counting Time

Anonymous
Not applicable
388 Views
1 Reply
Message 1 of 2

Counting Time

Anonymous
Not applicable

Hey guys, I was wandering if its possible to make a code allowing me to know how much time my Maya scene was between get opened and closed. A final timer or a timer who would keep counting the time everytime I reopened and stop everytime I close it.

 

Or maybe create a button allowing a counter... idk

0 Likes
389 Views
1 Reply
Reply (1)
Message 2 of 2

stuzzz
Collaborator
Collaborator

hello:

I would:

- create a scriptJob with a SceneOpened event

- anytime the scriptjob is triggered check if it's your scene name

- then create or append a text file with the counting or a persistent variable like a optionVar

 

 

0 Likes