Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Dan, how do I create a Camera in a script?

  • Dan, how do I create a Camera in a script?

    Posted by Joseph M. morgan on September 23, 2006 at 8:50 pm

    Dan, or anyone available. I created a script to randomly add comps into 3D space, and thought it would be nice to go ahead and add a camera, but there doesn’t seem to be a camera object. How do I create a camera in script?

    Joe

    Joseph M. morgan replied 17 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    September 23, 2006 at 10:06 pm

    Like this:

    app.project.activeItem.layers.addCamera(name, centerPoint);

    Dan

  • Joseph M. morgan

    September 23, 2006 at 10:10 pm

    Thanks… knew it was easy! You da man!
    Joe

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy