Lets suppose I have 10 objects in the root layer of my project named
layer 1. Now lets suppose I quickly want to turn all those object as independent separate layers all at the root level. Is selecting individual object and pressing on collect in new layer the only way? Is there a quick method of selecting all the objects and doing something to turn them all into layers at once?
Highlight the top layer you wish to break up, the…
In the Layers Panel Menu …
Release to Layers (Sequence) or
Release to Layers (Build). These will generate a layer for every object on the highlighted layer.
The difference between the two menu items is the stacking order of the newly created layers.
Sequence creates layers from the bottom up, while Build does the opposite.
(Or vice versa, I can’t recall specifically… but that’s the gist of the difference.)
Here’s a link to the Adobe Forums with some possible scripts to add layer naming based upon object names: https://community.adobe.com/t5/illustrator-discussions/turn-selected-ai-sublayers-into-top-level-layers/td-p/1167891#7094511
Source : Link , Question Author : Rahul Verma , Answer Author : Scott