Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions disable expression but retain values is it possible without notepad?

  • disable expression but retain values is it possible without notepad?

    Posted by Benjamin Graham on October 11, 2010 at 10:29 am

    Hi again. I’m needing to align things in my scene and rather than writing down extensive lists of numbers for anchor points and positions I’m using an expression that looks like this

    L = comp("Char_Rig_Ctrls_Comp").layer("Side_R_Bob_R_Eye_CTRL");
    L.toWorld(L.anchorPoint)

    which works great and matches things but… If you disable the expression everything snaps back to the wrong places. Is there a way that anyone knows that I can disable an expression and keep the values that it assigned to the object. I tried keyframing it but that didn’t work. I can, and am going to, just write things dowm (Okay not write, I’ll be using notedpad) But it seems clumsy to me and I wondered if there was a better way. Using expressions instead of scripts to grab little bit of temporary info that you need seems like a really smart way to get things aligned between comps but if I cant disable the expression and have to write the info down anyway I feel it’s not that useful and I’ll have to look further into scripting, not on this job but hopefully for the future.

    Thanks.
    Benjamin.

    Benjamin Graham replied 15 years, 10 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    October 11, 2010 at 3:56 pm

    You could convert the expressions to keyframes (Animation > Keyframe Assistant > Convert Expression to Keyframes). You can then even delete the keyframes and the property should keep its current value and the expression will be disabled.

    Dan

  • Benjamin Graham

    October 14, 2010 at 1:56 pm

    Just wanted to say this work great and I’ve been using it extensively.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy