WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-20-2008, 02:19 PM
johannes2 johannes2 is offline
Member
 
Join Date: Apr 2007
Posts: 7
onactionend

Hi,

moving to Vizard 3 from Vizard 2.5 onactionend seems to work differntly:
Old working code:

def onactionend(object,action):
if object == screenWall and action == viz.MOVE:
putGraphOnScreenWall()
viz.callback(viz.ACTION_END_EVENT,onactionend)

New code, not working yet:

def onactionend(e):
print 'end',e.object,e.action
if e.object is screenWall and e.action is viz.MOVE:
putGraphOnScreenWall()
viz.callback(viz.ACTION_END_EVENT,onactionend)

What to do?
Best,
Johannes
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Do you know how to send a value for 'pool' to the onActionEnd function? ghazanfar Vizard 1 03-22-2007 10:25 AM


All times are GMT -7. The time now is 04:26 PM.


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