WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: Jeff
Forum: Vizard 04-11-2009, 06:50 PM
Replies: 4
Views: 8,066
Posted By Jeff
You could use viz.TOGGLE so that each time you...

You could use viz.TOGGLE so that each time you press the key the timer will change states and your function will either start or stop being called

def funcA():
timer1.setEnabled(viz.TOGGLE)
...
Forum: Vizard 04-09-2009, 11:03 AM
Replies: 4
Views: 8,066
Posted By Jeff
You could try this to keep only one timer active...

You could try this to keep only one timer active at a time.
import viz
viz.go()

def calculate():
print 'calculate'

def speed():
print 'speed'
Showing results 1 to 2 of 2

 
Forum Jump

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


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