PDA

View Full Version : addWindow only in one special scene


lilio
08-20-2009, 01:06 AM
Hello,

I want to add a second Window in a special scene, like this:

UpperLeftWindow = viz.addWindow(pos=(0.7,1.0),size=(0.3,0.3))

But this window should only be added in the scene 3.

How can I define the scene, where the window will be added?

Thanks a lot.

farshizzo
08-20-2009, 09:45 AM
Window objects are not dependent on which scene is visible. You will need to manually show/hide the window when scene 3 becomes active/inactive. You can do this by using the UpperLeftWindow.visible command.