ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Shape Layers: Pasting into Group 1 (instead of creating new one)

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Sebastian Martinez
Shape Layers: Pasting into Group 1 (instead of creating new one)
on May 10, 2020 at 6:43:56 pm

Dear expression heroes,

I already posted this Question in the regular After Effects Forum
https://forums.creativecow.net/thread/2/1143758
but I have the feeling that there is no earthly answer to this:

I have 100 Shape Layers on my Comp containing various pathes.

In the top layer I added a Trim Paths-function and animated it with an expression in the exsiting Group 1 (expression doesn't makes a difference to keyframes).

Now I copy the Trim Paths and want to paste it into the 99 remaining shape layers in my comp.

How do I paste into the Group 1 of all these 99 layers without opening them up separatly?

Now pasting just creates a Group 2 wich isn't of course affecting the animation at all...

I want to prevent a tideous and timconsuming workflow.

So I wonder:
Is there - for example - a script that is showing the copied content the right way to the desired destination? Like pasting Opacity-values from one layer to another wich happens automatically?

Or - if I paste the copied content into a text document it looks like this:
Adobe After Effects 8.0 Keyframe Data

Units Per Second 25
Source Width 1
Source Height 1
Source Pixel Aspect Ratio 1
Comp Pixel Aspect Ratio 1

Contents Group #1 Contents Trim Paths #3 End
Frame percent
100

Expression Data
splitName = name.split(" ");
tStart = framesToTime(parseInt(splitName[2],10));
tEnd = framesToTime(parseInt(splitName[3],10));
linear(time,tStart,tEnd,0,100)
End of Expression Data


End of Keyframe Data

Could in there be added any code to make it work?

I hope you understand... Thank you so much in advance!
Sebastian

Sebastian Martinez
CGI-Designer
Cologne, Germany
AE, AI, PS, 3ds max, C4d


Return to posts index

Sebastian Martinez
Re: Shape Layers: Pasting into Group 1 (instead of creating new one)
on May 11, 2020 at 5:37:36 pm

okay, I'm replying to my own post. I found kind of a strange work around:

1. Copy the group-item you wish to paste (if allready arranged in another comp, in my case the Trim function with some expressions)

2. Select the Shape Layers you want to paste into

3. Type "group 1" (or the specific group you want to toggle) into the search dialog of the timeline-window and press enter. Now that group is revealed in all selected Shape Layers

4. Select these opened groups by click-dragging over all of them (start that in the free space between the opened layers)

5. Just paste. That Content is now pasted directly into that group without creating a new one


Thats not working at lightspeed but just about lightspeed

Best wishes to you all
Sebastian

Sebastian Martinez
CGI-Designer
Cologne, Germany
AE, AI, PS, 3ds max, C4d


Return to posts index

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