Selecting Dropdown value in Effect/Accessing Effect Values in general
Hi, 2 part question:
1. I'm trying to add a Directional Blur effect to a layer which I've been able to do but I haven't figured out how to access the "Type" value. I want to change it to "Fading Zoom" by default. Does anyone know how to access an effect value from a dropdownlist and setting it? Is it based upon a position index? Or some sort of constant/match name system?
2. Is there an easier way to figure out how to access these values? Basically, how do I figure out how to access effect-specific values when using the return value of layer.effect.addProperty()? When I use the debugger, its just a generic PropertyGroup object so I don't know what's specific to that Effect. In a lot of cases it's logical ("Amount" is .amount or "Repeat Edge Pixels" is .repeatEdgePixels) but for some it doesn't breakdown that way (Directional Blur's "Blur Length" is not .blurLength, .blur or .length).
Thanks in advance for any help in the right direction!
Calvin