View Single Post
  #2  
Old 11-16-2005, 03:15 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

Try the following instead:
Code:
if viz.running():
	openfile()
This makes sure that the file is not opened when the script is being parsed within the GUI.
Reply With Quote