Thread
:
Active scene
View Single Post
#
2
07-13-2009, 09:43 AM
farshizzo
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'
farshizzo
View Public Profile
Find all posts by farshizzo