ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Expression for Scale

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Mathieu Fourre
Expression for Scale
on Sep 22, 2015 at 8:02:17 am

Hi there !

I was wondering if you could help me with this :

I have to repeat over and over again one same action in different ae files and so I was hoping to paste an expression to get it done a lot faster.

I want to transform specific layer's scale so they fit 100% of their container, (so the composition in which they are).

Usually I would go to layer's scale properties, right click, edit value, % of composition, and add 100%. But god that's long..

Is there anyway to get it done with an expression ?

Thanks a lot !!


Return to posts index

crasse deux
Re: Expression for Scale
on Sep 22, 2015 at 9:16:13 am

Hi !

it's not an expression, but there is a shortcut to adjust a layer to the size of its composition :
select your layer and press ctrl+alt+F (if the layer isn't homothetic to its composition it will be deformed).

if you prefer using expression (more control, and you'll be able to keep proportions of your layer), there is thread about it here :
https://forums.creativecow.net/thread/227/14016

hope this help !


Return to posts index

Walter Soyka
Re: Expression for Scale
on Sep 22, 2015 at 1:30:27 pm

[crasse deux] "it's not an expression, but there is a shortcut to adjust a layer to the size of its composition :
select your layer and press ctrl+alt+F (if the layer isn't homothetic to its composition it will be deformed)."


Additionally, Ctrl+Alt+G will fit a layer within the comp by height, and Ctrl+Alt+H will fit a layer within the comp by width. (Substitute Cmd for Ctrl on a Mac.)

Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter]   |   RenderBreak [blog]   |   Profile [LinkedIn]


Return to posts index


crasse deux
Re: Expression for Scale
on Sep 22, 2015 at 2:36:44 pm

I didn't knew that ! great infos here ! thanks


Return to posts index

Mathieu Fourre
Re: Expression for Scale
on Sep 22, 2015 at 4:01:15 pm

Awesome to know ! Thanks !!


Return to posts index

Mathieu Fourre
Re: Expression for Scale
on Sep 22, 2015 at 4:00:33 pm

That's exactly what I was looking for, thank you 1000 times !


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]