Assign masks to AI layers
Posted: March 29th, 2007, 3:41 am
Hi folks,
a scripting newbie needs help!
I've got to process Illustrator files containing drawings which I want to animate sketch-style. I distributed the paths in the AI file to one layer each, imported the AI into AE as a comp. In addition, I copied the original AI paths into a solid as masks. So, now I've got the comp with the graphics layers and the layer containing the same paths as masks.
What I would like to do now is to access every single mask in the mask layer and assign that path to the corresponding layer in the AI comp. As the drawings will contain up to a few hundred paths, I don't wanna do all the work by hand...
Is there some way to do this in a script?
a scripting newbie needs help!
I've got to process Illustrator files containing drawings which I want to animate sketch-style. I distributed the paths in the AI file to one layer each, imported the AI into AE as a comp. In addition, I copied the original AI paths into a solid as masks. So, now I've got the comp with the graphics layers and the layer containing the same paths as masks.
What I would like to do now is to access every single mask in the mask layer and assign that path to the corresponding layer in the AI comp. As the drawings will contain up to a few hundred paths, I don't wanna do all the work by hand...
Is there some way to do this in a script?