Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Shape Layers: Pasting into Group 1 (instead of creating new one)

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

  • Sebastian Martinez

    May 10, 2020 at 6:43 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

  • Sebastian Martinez

    May 11, 2020 at 5:37 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

Viewing 1 - 2 of 2 posts

Log in to reply.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy