Search found 5 matches

by eddieyepez
November 30th, 2016, 8:28 am
Forum: Scripts Discussion
Topic: Camera Auto-Orientation Off
Replies: 8
Views: 15432

Re: Camera Auto-Orientation Off

Thank you Xavier, you guys have been very helpful.
by eddieyepez
November 29th, 2016, 2:55 pm
Forum: Scripts Discussion
Topic: Camera Auto-Orientation Off
Replies: 8
Views: 15432

Re: Camera Auto-Orientation Off

The AutoOrientType object stores the ID for every type of value you can assign to autoOrient. Here is an example of how to use it: var myCamera = app.project.activeItem.layers.addCamera("theCamera", [0,0]); myCamera.autoOrient = AutoOrientType.NO_AUTO_ORIENT; This will set the autoOrient ...
by eddieyepez
November 29th, 2016, 2:22 pm
Forum: Scripts Discussion
Topic: Camera Auto-Orientation Off
Replies: 8
Views: 15432

Re: Camera Auto-Orientation Off

You can use the AutoOrientType object, see the docs for more info:  http://docs.aenhancers.com/avlayer/#avlayer-autoorient Thank you Runegan, i did see it in the documentation but either I don't understand how to use it or it doesn't work with cameras, just AV layers. Would you mind write an example?
by eddieyepez
November 29th, 2016, 2:21 pm
Forum: Scripts Discussion
Topic: Camera Auto-Orientation Off
Replies: 8
Views: 15432

Re: Camera Auto-Orientation Off

Use the AutoOrient object: myCamera.autoOrient = AutoOrient.NO_AUTO_ORIENT; Other possibilities are : AutoOrient.ALONG_PATH; AutoOrient.CAMERA_OR_POINT_OF_INTEREST; AutoOrient.CHARACTERS_TOWARDS_CAMERA; (the last one is only for per-character-3D text layers). Xavier   Thank you but I get: AutoOrien...
by eddieyepez
November 29th, 2016, 12:34 pm
Forum: Scripts Discussion
Topic: Camera Auto-Orientation Off
Replies: 8
Views: 15432

Camera Auto-Orientation Off

Hi, 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]); myCamera.autoOrient=3612; The problem is the ID number 3612 is not th...