Thank you Dan so much for clearing this out for me 🙂
Honestly I would like to do it as applyPreset(ffx) method as well. But I don’t know how to get around the issues I face with this approach.
I know that the applyPreset applies the effect preset as many times as selected layers/properies. I need as many effect controls as property objects selected. So I select only one layer and select needed properties and then run applyPreset. If Properties selected inside content or transform property groups then it creates as many effects as properties selected, everything is ok in this case.
But whenever I select a property from layer’s effects group and from transform/contents group at the same time, It creates as many effects controllers as selected properties only from contents/transform without counting the properties from the effect group. However If I select property only from effects group it applies correctly.
I was thinking about some workarounds and I thought if I select the layer without any properties selected and run the applyPreset method on it N times in a loop it will apply it N times, however it applies only once
I really don’t know how to fix that