I have drawn a country map with multiple layers and sublayers including streets, cities, rail lines, ...
Now I want to create a template for my collegues in After Effects.
For this I want to import the .ai file into After Effects retaining all sublayers and layers in compositions and subcompositions.
When I do that, I get the first couple of layers correctly, the other ones comes in one merged composition.
What can I do, to get all layers each as a layer in After Effects?
Illustrator only imports the first level of layers. If you have groups or paths below you need to release the groups to layers. The layers will then be stacked in order as sub layers. Then you need to move them up.
The steps are to select a layer in the Illustrator layer panel, then without selecting any specific element in the layer click on the menu in the top right corner and select release to layers. All a elements in that layer will be converted to layers. Now select them all and drag them up above the original layer. This will leave the original layer empty and put all elements in new layers.
Here's a tutorial I did a zillion years ago which uses this technique to turn a blend into a morph.
Morphing With Adobe Illustrator. I hope this helps.
Thank you very much for your answer and the url.
You made my day.
I could export every layer to After Effects!