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.
|