View Single Post
  #2  
Old 08-16-2011, 06:30 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The pick command allows you to pass an optional position argument representing the normalized (0-1) screen coordinates to perform the picking at. If not specified, it defaults to the current mouse position. For example, if you wanted to perform the pick operation in the middle of the screen, you would use the following code:
Code:
node = viz.MainWindow.pick(pos=(0.5,0.5))
Reply With Quote