View Single Post
  #2  
Old 02-27-2014, 12:02 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You can use the following code to show/hide the main graphics window:
Code:
# Hide Window
viz.setOption('viz.window.visible', 0)

# Show Window
viz.setOption('viz.window.visible', 1)
You will probably also want to disable rendering as well:
Code:
viz.MainWindow.visible(False)

Last edited by farshizzo; 02-27-2014 at 12:08 PM.
Reply With Quote