I'm trying to create a camera with a script, but I need the camera Auto-Orientation property to be off. So far the only way I found is this:
var myCamera = app.project.activeItem.layers.addCamera("theCamera", [0,0]);
The problem is the ID number 3612 is not the same in all version of After Effects.
In CS6 it is 3612 but in CC2015 I believe is 4012.
Is there a better way to create a camera with Auto-Orientation off?
If not, could you tell me the ID number in your version of After Effects? Just select a camera and run this code:
var myCameraOrient = app.project.activeItem.selectedLayers.autoOrient;
In CS6 I get:
3612 : Off
3613 : Orient along Path
3614 : Orient Towards point of interest
Thank you for your help!