AE can import and expand AI paths ever since CS6 using the respective function in the Layer menu. and since it already produces shape layers, therE's also already a partial answer to your second problem: Shape layer strokes can be sequentially animated using a single Trim Paths modifier. Otherwise you'll just have to bite your lip and get to work. This stuff is simply tedious, repetitive work with not too many shortcuts to happiness.
Thanks for the responce. Even if I have to do this manually I'm still looking for efficiences ;-)
Could you please expand on your brief comment.
i) AE can import and expand AI paths ever since CS6 using the respective function in the Layer menu
Specifically which menu item in Layers Menu? I know I can import AI files as either footage or Composition which can split or merge layers, is this what you are refering to? I can't seem to select an element (layer) from my imported AI file, copy it and then select the art layer I want revealed and select paste to create a mask (as I can copying from AI as per the tutorial exercise).
ii) Shape layer strokes can be sequentially animated using a single Trim Paths modifier
I got no idea what this is saying. Reading the User Guide on shape layers ATM but if you couldexpand please?
Theoretically, I think a JS script could grab an array of paths in AI, then iterate around duplicating the reveal AE Layer and apply each path as a mask and generate a stroke for it. I can code JS but I have no idea about the AE DOM so it would probably take me same number of hours to do either way, although if I could Master the code I could iterate my code more easily than changing 180 layers by hand :-) Been a few years since I wrote a Script for AI and I'm on a deadline so a bit reticent to start now. Did find a great series of videos introducing AE scripting though linked to in the User Guide,
1 person found this helpful
Specifically which menu item in Layers Menu?
Create Shapes from Vector Layer
Reading the User Guide on shape layers ATM but if you couldexpand please?
Shape Layer --> Add flyout --> Trim Paths --> Trim Multiple Shapes
I have no idea about the AE DOM
AE has no DOM; JS/ ExtendScript functions are only available for select functions and features and do not have a consistent inheritence for classes, object prototypes and so on. You can't even query most objects and functions unless you know their name and only reading the scripting guide can tell you that.
I just noticed a couple of check boxes in the Generate Stroke Effect Controls Panels: All Masks & Stroke Sequentually. These are what I was looking for but not seeing ;-) Allows me to apply multiple mask either simulataneously or sequenced.
Thanks for the Shape Layer hints will check them out too.
Hmm no DOM; I guess what I meant is the object heirachy & naming conventions for objects. Seems to be all there in the Scripting User Guide but heavy reading…
1 person found this helpful
I would highly recommend that you set your masks to cycle colors in the preferences. I took one of your sample projects and simply re-ordered the masks and set them to sequence. The second stroke path was removed. You'll find the project here.