Copy link to clipboard
Copied
hi every body , my question is that in Illustrator 2020 i design stickers to print in prepress stickers design are in circle but around 70 in a sheet , when i change sheet size the quantity i need to count manually , is there any why that i f i select all objects , illustrator shows me total numbers of objects in group or without group , like in corel draw old versions easily tell you the numbers of objects.if third party scripts or plugins required for this simple things , then adobe need to be closed adobe apps
Thanks
2 Correct answers
Do you know menu: Window --> Document info (options: Objects) ?
For non-grouped items vs groups:
var groupNo = 0;
for (var i = 0; i < selection.length; i++) {
if (selection[i].typename == "GroupItem") {
groupNo = groupNo + 1;
}
}
var nonGroupNo = selection.length - groupNo;
alert("Non-grouped items: " + nonGroupNo + "\
Groups: " + groupNo + "\
Non-grouped items + groups: " + selection.length);
Explore related tutorials & articles
Copy link to clipboard
Copied
Do you know menu: Window --> Document info (options: Objects) ?
Copy link to clipboard
Copied
The Document Info > Objects that pixxxel recommended will show you the total number of objects. It will not tell you the number of groups. Each object in each group will be counted.
Copy link to clipboard
Copied
For non-grouped items vs groups:
var groupNo = 0;
for (var i = 0; i < selection.length; i++) {
if (selection[i].typename == "GroupItem") {
groupNo = groupNo + 1;
}
}
var nonGroupNo = selection.length - groupNo;
alert("Non-grouped items: " + nonGroupNo + "\
Groups: " + groupNo + "\
Non-grouped items + groups: " + selection.length);
Copy link to clipboard
Copied
With the objects selected, right-click select Collect for Export/As Multiple Assets. The Asset Export panel will display each asset numbered.
Copy link to clipboard
Copied
You have saved me so much time and aggravation. Thank you stranger.

