Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Scripting – Puppet Layers

Tagged: 

  • Scripting – Puppet Layers

    Posted by Robert Victor on October 2, 2021 at 11:19 pm

    Hey, new to AE Scripting but I’m a quick learner.

    I’m trying to reference puppet pins in order to change their parameters (Pin Names, Position, etc). Having trouble writing code to reference each pin – always getting a “Null” error. Here is my reference code:

     

    var myComp = app.project.activeItem;

    var layerName = “Hips”;

    var puppetEffect =myComp.layer(layerName).property(“Puppet”).property(“Mesh 1”).property(“Deform”).property(1).name();

     

    Can anyone tell me how to reference the properties of a layer?

     

    Thanks

    Bob

    Meng Zhiqun replied 4 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • Meng Zhiqun

    October 30, 2021 at 2:48 pm

    Have you tried Redefinery’s gimmeproppath script? Their site is down now though, not sure if it’s due to the latest ae update. But I hope you can locate it once the site is up.

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