Hopefully it's reasonably self-explanatory, but I'll mention a couple of things.
It turned out to be more convenient to have a 'Switch Longitude' field instead of a 'Switch Offset' field, which is what the .CAM file actually contains.
The template camera which you can use to control the default camera settings. Template camera values are stored in the registry, not the .CAM file. The template camera's longitude is added to the longitude of the previous camera to produce the default longitude for a new camera. Set the template camera switch longitude as you would if you were actually positioning a camera at the template camera longitude.
Edited by npattinson, Jan 29 2009 - 02:02 AM.