Thread: Active scene
View Single Post
  #2  
Old 07-13-2009, 09:43 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Yes, the following code should do what you are asking for:
Code:
if viz.MainWindow.getView().getScene() == viz.Scene2:
	print 'Scene 2 is active'
Reply With Quote