![]() ![]() Within Group A, I have 2 other groups, Group A1 and Group A2. Within the shape layer, I have 2 Shape Groups, Group A and Group B. As an example, lets say I have a Shape Layer called Controls. That will also be useful for some designs. I’m trying to use the toWorld or toComp functions but those methods don’t seem to work within Shape Layer contents. fed into Scales width, and Positions Y value gets fed into Scales height. I think I'll work on one that ties stroke width to distance from the camera. How do you create an Expression in After Effects (AE) The easiest way is to. Then parent the shape layer to any null and the stroke will remain the same relative size no matter what the scale of the parent layer is. also specify what exactly are you trying to accomplish. it would be easier to see whats wrong with a screenshots of your Timeline and Composition panels and showing the layers and values that you are trying to connect with expressions. It's something that I will use once in a while.Īll you have to do is type Stroke in the timeline search field to reveal all stroke width properties in all shape layers, drag a selection around all of them and then apply the animation preset. it appears you applied the expression in a wrong way. The expression is so good that I'm saving it as an animation preset. It will take about 2 seconds and you could have a couple hundred stroked layers tied to the scale of their parent layer and show no errors if there was no parent. When you get the expression working for one stroke you can copy expression only, type Stroke in the timeline search to show all stroke properties on the layer and then select them all and paste. Your expression works, except it warps the triangles because its not a uniform scale expression. 2- It no longer treats each triangle as a separate thing. ![]() The second if statement prevents divide by zero errors and retains the original stroke value if the scale gets to zero. The Stroke value is now modified by the X layer scale no matter what the parent layer is. 1- Making all those a precomp, will cut off the part of them thats outside the screen. that incorporate various visual elements, such as lines, shapes, and patterns. f there is no parent the original stroke value is retained. Text expression presets utilize Adobe After Effects powerful language to. The first if statement keeps the original stroke value is there is no parent. The layer name if the parent no longer a potential problem, the expression is just looking for a layer with a parent. Here is the expression I would use for Stroke: The expression makes no allowance for divide by zero errors. The explanation is incomplete and the workflow is inefficient. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |