In the script i'm developing right now, I want to duplicate a layer having effects, and link via expression every property of the effects to the original layer effects.
But some effects have greyed properties (exemple: CC light wrap have a "direction" property greyed if the "shape" property doesn't allow directions), and when i add an expression i would like to be sure to link only the properties activated. Is there a way to test if properties are activated or not ?
Or can i link greyed properties and should bother to avoid them ?
How to know if a parameter is available ?
Moderator: Paul Tuersley
Sébastien
http://www.yenaphe.info
http://www.yenaphe.info
A possible solution could be a try/catch statement.
in fact, it works without checking, it will add the expression, but the property won't be used.
BTW, do you have a hack, or an idea on how to link properties that are not expressionable (because not keyable) ?
BTW, do you have a hack, or an idea on how to link properties that are not expressionable (because not keyable) ?
Sébastien
http://www.yenaphe.info
http://www.yenaphe.info
Hummm...I don't think it's possible. I don't know the script you're working on, but adding a new control to your script interface (to change the value of this property for all duplicates) may represent a solution.