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: Zhi
Forum: Vizard 04-02-2011, 01:43 PM
Replies: 1
Views: 7,050
Posted By Zhi
I have found a way around: def myTask(): ...

I have found a way around:

def myTask():
while True:
btn = yield viztask.waitMouseDown(None) #Wait for mouse click
viz.visible(viz.OFF) #Turn off the screen

if btn.button ==...
Forum: Vizard 04-02-2011, 07:47 AM
Replies: 1
Views: 7,050
Posted By Zhi
How to delay time in Vizard

Hi all,

I want to define a function which will be called when the mouse is clicked. The function will block the viz.MainView for a second. Here is my code:

import viz
import time
def...
Showing results 1 to 2 of 2

 
Forum Jump

All times are GMT -7. The time now is 08:07 AM.


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