WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Director call not working (https://forum.worldviz.com/showthread.php?t=1614)

vizmaster 08-21-2008 09:00 AM

Director call not working
 
I make the following call:
Code:

viz.director(VR1.WaitRun)

class room:
        def WaitRun():
                viz.waittime(3)

VR1 = room()

gives me: TypeError: WaitRun() takes no arguments (1 given)

How am I giving it an argurment?

vizmaster 08-21-2008 10:08 AM

Forgot my self
 
Found out I did not declare WaitRun correctly, should be:
def WaitRun(self):


All times are GMT -7. The time now is 04:40 AM.

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