| expression in a layer marker's comment
• | | | |
 | expression in a layer marker's comment
by Peter O'Connell on Aug 21, 2008 at 6:23:29 pm |
Hi, does anyone know if it is possible to have a layer marker's comment evaluate as an expression so that for example if you type in 'opacity' in the comment field it displays as '100'
Thanks
Pete
roguekeyframe.com
| | | | |
• | | | |  | Re: expression in a layer marker's comment by Dan Ebberts on Aug 21, 2008 at 6:35:13 pm |
Like this:
eval(marker.key(1).comment)
Dan
| | | | |
• | | | |  | Re: expression in a layer marker's comment by Peter O'Connell on Aug 22, 2008 at 2:35:49 am |
HI Dan, I must be doing something wrong cause when I type that expression in the layer marker's comment field it doesn't show up in the timeline as the result, but just as the code I input verbatim.
Help
Pete
| | | | |
• | | | |  | Re: expression in a layer marker's comment by Dan Ebberts on Aug 22, 2008 at 2:45:34 am |
Maybe I misunderstood. That expression goes in the property that you want to have execute the expression in the marker comment. For example, if you put the expression in the layer's opacity property and put
time * 10
in the first marker comment, you'll see the opacity increase with time.
Dan
| | | | |
• | | | |  | Re: expression in a layer marker's comment by Peter O'Connell on Aug 22, 2008 at 5:08:32 am |
Hi Dan, well what I was trying to do was get the comment itself (that you see beside the layer marker) to update based on an expression. Maybe that's not possible?
Pete
| | | | |
• | | | |  | Re: expression in a layer marker's comment by Dan Ebberts on Aug 22, 2008 at 5:21:45 am |
Ah, yes. Sorry - you can't do that. In general, if you can't keyframe it, you can't apply an expression to it.
Dan
| | | | |
| |
|