Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Add an ellipse via script

  • Add an ellipse via script

  • Arne Münch

    May 7, 2020 at 2:03 pm

    Hi
    I am using

    app.project.activeItem.selectedLayers[0].property(“Contents”).addProperty(“ADBE Vector Group”);

    to add a shapelayer group inside an existing shapelayer. But it puts it under the existing group. I want to create it above the existing group.
    Someone know how to do this?

  • Dan Ebberts

    May 7, 2020 at 2:26 pm

    I’m not sure if this does what you want, but give it a try:

    var myGroup = app.project.activeItem.selectedLayers[0].property(“Contents”).addProperty(“ADBE Vector Group”);
    myGroup.moveTo(1);

    Dan

  • Arne Münch

    May 31, 2020 at 9:00 am

    I just forget to say thank you.
    This was really helpful.

Viewing 1 - 3 of 3 posts

Log in to reply.

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