Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Mass expression removal

  • Mass expression removal

    Posted by Ariel Levental on January 12, 2008 at 10:50 am

    hi everyone

    this forum has been a great help over the years and i really enjoy reading all the posts.

    i have a question though:
    is it possible to remove expressions from a mass of layers all at once ?
    i often work with huge comps (100 or more layers) and all of them are linked to a master null with slider controls.

    the thing is, if i need to remove a certain expression from a selected property within all the layers, its usually a time consuming task.
    doing it manualy over and over again is never a lot of fun 🙂

    is there a way i can remove all the expressions at once from a selected property ?

    thanks in advance
    Ariel

    Trent Armstrong replied 18 years, 6 months ago 3 Members · 2 Replies
  • 2 Replies
  • Jerzy Drozda jr

    January 13, 2008 at 12:07 am

    you could do it by writing a scrpit for that. since you deal with expressions i guess you’ll have not much trouble developing that.

    if not, than the only way i could think of is to delete the Expression controller from the Null layer that controls the effect parameter. since you’re using 100 layers it will create 100 error messages and turn the expression off for the layer and effect the error occurred. then you can go Edit > Undo to get the Expression Controller back in place, but the expressions will stay disabled.

    this of course isn’t perfect, but in some cases will work.

    but script would be of course much much better.
    hope it helps.
    cheers


    maltaannon.com – Free After Effects Video Tutorials and more

  • Trent Armstrong

    January 15, 2008 at 8:25 pm

    When you first click on the stopwatch to create an expression the base information for that property is the default information inside the expression. So clicking on the Anchor Point stopwatch puts “anchorPoint” in the expression field. That just references the information that is provided in the entry fields for x, y, and z (the numbers you would normally adjust to change the Anchor Points position.

    If you accept this for the expression, then it just reads the x, y, and z coordinates and the property behaves as if it doesn’t have any expression applied at all.

    Let’s say you have an expression for the Anchor Point of 100 layers. (“you have an expression for the Anchor Point of 100 layers!”)

    If you want to get rid of the expressions for all the layers, first clear the expression for one layer and then opt+click or alt+click the stopwatch again to get the default expression.

    Next, copy that expression only, select your other layers and paste the expression to all the layers. That effectively removes all of the calculations and returns each layers current coordinates.

    I hope this helps!
    Trent

    Trent Armstrong – Creative Cow Leader
    https://www.dallasaeug.com

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