Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Add an ellipse via script

  • Add an ellipse via script

    Posted by Arne Münch on 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?

    Arne Münch replied 5 years, 11 months ago 2 Members · 2 Replies
  • 2 Replies
  • 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.

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