Is there a way to change the camera information of a given scene/page? Ultimately, I’d like to be able to do so without actually changing the current view to the scene/page’s view programatically, so that I can maintain the current view of the user. With that said, I can’t seem to find any methods to change the values of the camera parameters of a scene/page. I’ve tried doing Sketchup.active_model.pages.selected_page.camera.set eye, target, up (with my new values for eye, target, and up), but nothing seems to happen. Any suggestions would be greatly appreciated!
I believe that I found a solution, so I’ll post it here:
current_page.use_camera = false
current_page.camera.set eye, target, up
current_page.use_camera = true
Feel free to correct in case I’ve misinterpreted the API