Is it possible to record the camera movements that I do using the mouse and keyboard? let’s say, If I get the position of the camera and target once every 1/3 seconds, and then use the points to create a curve for the camera path animation?
#records camera movements into camera_path and camera_target curves
#to be used to Set up path animation in Animation Settings
#camera path color is set to red
import rhinoscriptsyntax as rs
view = rs.CurrentView()
point_target = 
print "Recording camera movements. Long press ESC to stop."
CameraTarget = rs.ViewCameraTarget(view)
#check for esc press
print "ESC pressed "
break #get out of the loop
camera_path = rs.AddCurve(point_camera)
camera_target = rs.AddCurve(point_target)