WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 04-07-2008, 03:30 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The viz.getFrameTime() function returns the current time in seconds. You can use the time module to format it for display. The following code will format the time to hrs:min:secs:
Code:
import time
print time.strftime('%H:%M:%S',time.gmtime(viz.getFrameTime()))
Reply With Quote
 


Posting 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Timing jaclyn.bill Vizard 2 10-19-2007 03:34 AM
stereo projection issue asimbh Vizard 3 10-05-2007 10:22 AM
cal3d exporter issue reiverlass Vizard 4 07-18-2007 12:08 PM
viewing issue. cantwelljm Vizard 3 03-29-2006 12:03 PM
vizard 2.5 compatability issue shai Vizard 3 08-10-2005 04:35 PM


All times are GMT -7. The time now is 11:21 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC