View Single Post
  #2  
Old 09-13-2005, 01:18 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Vizard has an EXIT_EVENT that is triggered when the script ends. Here is some sample code:
Code:
def onexit():
    print 'exiting'
viz.callback(viz.EXIT_EVENT,onexit)
Reply With Quote