Illustrator Layer Count
- Started
- Last post
- 12 Responses
- dog_opus
Anyone know if there's a function in Adobe Illustrator to tell you how many layers/sublayers you have in a given document? I've been working on a composition that has a huge number of objects (all very similar – think repetition) on one layer, and it occurred to me out of curiosity that there might be a way to count.
Thanks, goofballs. :-)
- dog_opus0
Bizzump.
- Nairn0
Can't think of any such option, no.
I can't really see what purpose, beyond quenching some kind of childish spirit of competition, this would serve.
I take it there's enough variance between the forms to negate the use of the symbols functionality? I just say this as I kept crashing a doc a couple of years back, before I realised I could reduce overheads with symbols.
- islandbridge0
Group all elements in one layer. Ungroup. Delete other layers. Select everything. Click the little drop down in the top right corner of the layers pallette. Choose "Release to layers (Sequence)"
That should index to layers. Scrool to the bottom and look at the number. :)
- plash0
xnview reads .ai files with the help of ghostscript; this gives you the ability to read media files in the raw form.
can give you stats on swatches, plates, histo, and doc specs. ( layers being one of them) .. not a plug for xnview (cuz it has it's downfalls) but it comes in handy
- drgss0
If you have "a huge number of objects on one layer", then you have one layer....I think you mean groups?
The closest I know of
Windows > Document Info (then from the tiny options menu on the right choose "objects", and it should give you the count of objects, paths, points etc)
- plash0
@islandbridge Yeah it is. and apparently they have a few Air products that help the process.
- acescence0
var numLayers = app.activeDocument.layers.length...
alert (numLayers);save as a script, open with file > scripts with a doc open
- acescence0
dammit...
app. activeDocument. layers. length;
remove spaces