View Single Post
  #2  
Old 03-20-2013, 01:41 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Create a spin action with the vizact.spinTo command and apply that to the viewpoint:
Code:
spinAction = vizact.spinTo(euler=[180,0,0], speed=30)
vizact.onkeydown(' ', viz.MainView.runAction, spinAction )
Reply With Quote