Skip to main content
andrewdraws
Inspiring
September 21, 2021
Question

Paste expression onto Groups within shapes layers?

  • September 21, 2021
  • 1 reply
  • 2081 views

Hello!  I am controlling Trim Paths with a slider control:

 

thisComp.layer("Trim Paths Adjustment 1").effect("End")("Slider")

 

I have many shape layers. Each contains many groups (individual strokes)

Is there a way to "paste" this expression onto groups within a shape layer?

Or do I have to do it manually?

 

 

This topic has been closed for replies.

1 reply

Jose Panadero
Community Expert
Community Expert
September 21, 2021

You have a Copy Expression Only under the Edit menu but you have to add a trim path operator to all of your groups before pasting the expression in start or end parameters.

andrewdraws
Inspiring
September 21, 2021

Yes... i see.  I have to select the Groups, apply trim paths.

 

Then "Copy expression only" (from another layer)

 

and then I can't just select the layer and "Paste" , I have to select all the groups, and then "paste"

 

Got it!  thanks.

Jose Panadero
Community Expert
Community Expert
September 21, 2021

Maybe it is a good idea to set a trim path operator linked to a expression and copy and paste the trim path operator to all groups. This way you can avoid copying and pasting the expression. I think it is a quicker way to do it.