Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Accessing Z-Position inside Effect via Scripting

  • Accessing Z-Position inside Effect via Scripting

    Posted by Geoff Rights on May 6, 2016 at 2:15 pm

    Hey all,

    I have access to my card dance effect by calling:

    hdLayer = my indexed layer

    var myeffect = hdLayer.property(“Effects”).addProperty(“Card Dance”);
    myeffect(“Rows”).setValue(myInfo[2]);
    myeffect(“Columns”).setValue(myInfo[1]);
    myeffect(“Gradient Layer 1”).setValue(2);

    I was able to access each of those values correctly; unfortunately I cannot access “sub properties?”.

    I am now trying to access the source, offset, multiplier values inside the the Z-Position (category?, property?) of the effect but it’s returning an error.

    I have attempted:

    myeffect(“Z Position”)(“Offset”)
    myeffect(“Z Position”).property(“Offset”)
    myeffect.property(“Z Position”)(“Offset”)
    myeffect.property(“Z Position”).property(“Offset”)

    Any help would be great, thanks!

    Geoff Rights replied 10 years, 3 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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