Automations Blocks - how to have currently selected layer 'fit to comp height'?
Hi,
I'm having difficulty finding out how to 'fit to height' of the currently selected height.
Thank you!
Hi,
I'm having difficulty finding out how to 'fit to height' of the currently selected height.
Thank you!
I just added a tool to the Community Library of Automation Blocks for you:
Layer Properties/Scale/Scale Selected Layers To Comp Height
I used the tool "Scale Selected Layers to Same Width" as a starting point and modified it to scale the layers to comp height instead.
The tool uses the source rect at the current time to measure the height. This means if you have text layers, it will use the actual text as height of the layer and if you have shape layers, the actual shapes (the "height" of shape and text layers in Ae is always the same as the comp itself, but the source rect changes with the actual content). For footage layers or solids you could use the layer property "height" instead.
This is the full block code:

Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.