WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   addWindow only in one special scene (https://forum.worldviz.com/showthread.php?t=2217)

lilio 08-20-2009 01:06 AM

addWindow only in one special scene
 
Hello,

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

Code:

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.


All times are GMT -7. The time now is 02:46 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC