How to move camera to a certain scene in Ruby API?


#1

What command can you enter to either move the camera to a pre-set scene, or simply to top view?


#2

You can change the camera of a view
http://www.sketchup.com/intl/en/developer/docs/ourdoc/view?hl=nl-NL#camera=
http://www.sketchup.com/intl/en/developer/docs/ourdoc/view?hl=nl-NL

or activate a scene (in the ruby API a scene is called a page)
http://www.sketchup.com/intl/en/developer/docs/ourdoc/pages?hl=nl-NL#selected_page=


#3
Sketchup::send_action("viewTop:")

see: Sketchup::send_action()