-
Accessing Z-Position inside Effect via Scripting
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!
Sorry, there were no replies found.