I am new in writing Sketchup plugins and I got problem. I know how to create page (scene) and camera, but I have no idea how to set the camera for the page. Any tips?
eye = [100, 100, 500]
target = [300, 300, 300]
up = [0, 0, 1]
pg_front = pages.add "front"
front_cam = Sketchup::Camera.new eye, target, up
# First idea, but it's not working
pg_front.camera = front_cam
# Second idea, but it's not working too
pg_front.use_camera = front_cam