Quantcast
Channel: Adobe Community : Popular Discussions - After Effects Expressions
Viewing all articles
Browse latest Browse all 47983

Expression on curve effect property

$
0
0

Hi,

 

I'd like in my script to add an expression on a curve effect and it seems not supported. Here is a snippet to demonstrate my problem :

 

alert(app.project.item(1).layer("H01P048_MV_CH_Grp01.[00604-00648].exr").property("Effets" ).property("Courbes").property("Courbes").canSetExpression)

try

{

    app.project.item(1).layer("H01P048_MV_CH_Grp01.[00604-00648].exr").property("Effets").pro perty("Courbes").property("Courbes").expression = "test";

}

catch(e)

{

    alert(e);

}

 

It always returns False and the following exception :

 

"Unable to define expression or expressionEnabled for this property."

 

What seems weird to me, is that manually in After Effects I can add this

expression.

 

Anyone have any clues?

Thanks in advance


Viewing all articles
Browse latest Browse all 47983

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>