View Single Post
  #3  
Old 03-30-2010, 09:09 AM
llqqff llqqff is offline
Member
 
Join Date: May 2009
Posts: 25
Yea. That works. Thank you very much!!
I have another question: how can I put the subwindow in the bottom of the main window, I tried:
import viz
viz.go()

viz.add('panorama.ive')

#Add a new window.
subWindow = viz.addWindow()
#Set the size and position of the window.
subWindow.setSize(1,.1845)
subWindow.setPosition(1,0)
#Add new viewpoint and set it in scene 2
subView = viz.addView()
subView.setScene(2)
subWindow.viewpoint(subView)

But it does not work. I don't know why.
Reply With Quote