WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-20-2009, 01:06 AM
lilio lilio is offline
Member
 
Join Date: May 2009
Posts: 11
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.
Reply With Quote
  #2  
Old 08-20-2009, 09:45 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to show different objects on different windows from the same scene Joran Vizard 3 07-14-2014 03:07 PM
Active scene Chrissy2009 Vizard 2 07-13-2009 09:49 AM
How to access scene information in a C++ modifier m7ossny Plug-in development 1 03-23-2007 11:02 AM
saving the scene giancamati Vizard 1 12-21-2006 09:25 AM
Collision with avatars and scene not working JvdBosch Vizard 12 09-14-2006 06:01 PM


All times are GMT -7. The time now is 10:25 PM.


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