ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Accessing Z-Position inside Effect via Scripting

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Geoff RightsAccessing Z-Position inside Effect via Scripting
by on May 6, 2016 at 2:15:51 pm
Last Edited By Geoff Rights on May 6, 2016 at 2:20: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!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]