Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

objects count

Contributor ,
Jul 25, 2020 Jul 25, 2020

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

TOPICS
Draw and design , Feature request , Scripting , Third party plugins , Tools
1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Jul 25, 2020 Jul 25, 2020

Do you know menu: Window --> Document info (options: Objects) ?

Translate
Guide , Jul 25, 2020 Jul 25, 2020

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);
Translate
Adobe
Community Expert ,
Jul 25, 2020 Jul 25, 2020

Do you know menu: Window --> Document info (options: Objects) ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 25, 2020 Jul 25, 2020

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jul 25, 2020 Jul 25, 2020

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);
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 20, 2021 Aug 20, 2021

With the objects selected, right-click select Collect for Export/As Multiple Assets. The Asset Export panel will display each asset numbered.

richnjen2001_0-1629493906640.pngexpand image

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 18, 2024 Jan 18, 2024
LATEST

You have saved me so much time and aggravation. Thank you stranger.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines