Copying Masks To Shape Layers

The simple act of copying and pasting an existing mask onto a Shape Layer in After Effects can be tricky and frustrating. The key is to only select the Mask Path parameter before copying and only the Path parameter when pasting. Jeff Almasol has also created a cool script.

Discuss
  1. Jeff Almasol
    Reply

    If you want to create a new shape layer from the selected layer’s masks, you can also try this script:
    http://www.redefinery.com
    /ae/view.php?item=rd_MasksToShapes

  2. Harry
    Reply

    Also, CS3 now allows expressions that connect masks to paths. So, you can create an expression for Shape Path and pickwhip a layer Mask.

  3. Ryan
    Reply

    Is it possible to create a mask(w/solid) from a shape layer path?

    • John Dickinson
      Reply

      Hi Ryan, you can copy a shape layer created using the Pen Tool. Select the path by twirling down the Shape Layer until you see the “path” property with the stopwatch. Click the work “path” to select the ibeam, and copy. Create a solid layer with a new mask on it, select the mask and paste. Best wishes, John.

  4. Alex
    Reply

    Hey,

    Related to this post. I have a very complicated design made in illustrator. I used pen paths with stroke to create a maze-like design with the corners set to Miter Join. (you can see an example of the design on the background of my website x2creator.com)

    It’s easy enough to copy and paste those paths in after effects, but the normal “stroke” effect wont do Miter Join’d corners. Theoretically, i COULD use the technique mentioned above but with hundreds of mask paths that could take DAYS just to do that copy and paste function. And the script looks like it takes each Mask Path and makes it into a stand alone Shape Layer.

    Q: How do i take about 200 mask paths from one solid layer and place them into a path under a single shape layer QUICKLY? Scripts? Please help!

    • Jeroen Schellekens
      Reply

      Hi Alex, mentioned the masks-to-shape script DOES create 1 Shape layer and adds all the masks from your copy-pasted Illustrator object layer into it.

      So one layer with 50 masks copied from Ai converted using that script results in one Shape layer with 1 path group containing 50 paths.

      Just try it out!
      http://www.redefinery.com/ae/view.php?item=rd_MasksToShapes

      • Alex
        Reply

        Hey Jeroen,

        I feel silly because shortly after I posted that comment I tried it and to my surprise, it worked the way I wanted. You can see the result here: http://www.youtube.com/watch?v=NGztfJyAE3U&hd=1

        Thanks again for your help! This tip was a life saver 🙂

        AV

  5. Maya
    Reply

    Thank you so much!!!!!!!!!!! I was ready to cry haha

Leave a Comment

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>