ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Remove all fills in a shape layer?

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


linus nystrom
Remove all fills in a shape layer?
on Sep 2, 2015 at 4:58:47 pm

Hi!

Im trying to make a little script where I basically want to select a shape layer, press a button, and that will make it duplicate and delete all the fills from all the shapes inside.

I've succeeded with the duplication bit, and I've figured out how to ADD properties (like fills or strokes) via the script, but I cant figure out how to access the fill attribute without knowing the exact path (which I dont since I dont know how many shapes the layer contain).

Im thinking there must be a short way of searching through the layer, and if the shape contains a fill, delete it (or make it 0% opacity).

Thanks a lot!


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]