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

Group Multiple Object at once with script

New Here ,
Dec 10, 2023 Dec 10, 2023
Is there a way to create groups at the same time, which creates separate groups along the die line?

 

EPEUPA78021204-JCT-Barcode Sticker-01.jpg

TOPICS
Feature request
492
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
Adobe
Community Expert ,
Dec 11, 2023 Dec 11, 2023

Seems doable.

 

Can you share a sample Illustrator file for inspection?

 

Also, which Illustrator version are you using?

 

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 ,
Dec 11, 2023 Dec 11, 2023

thanks Kurt for your reply. and i am using adobe ai 2020

 

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 ,
Dec 11, 2023 Dec 11, 2023

attachment

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 ,
Dec 12, 2023 Dec 12, 2023

Thanks for the sample file.

 

A couple of follow-up questions:

 

  • Each label consists of filled paths only. Is that always the case or may it vary in other files (e.g. a mixture of filled paths, stroked paths, live type etc.)?
  • The sample file contains 20 labels. Is that always the case or may it vary?
  • Each dieline is grouped together with a QR-Code. Do you want to retain this group or is it sufficient to just put all black filled objects per label in one group?
  • Are the dielines supposed to be part of the separate groups?

 

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 ,
Dec 12, 2023 Dec 12, 2023

• Each label always have .5pt Strokes with Spot color name "DIE" and having diffrent data inside like text, object etc.

• Label containing is vary in every file, yes i dont want to change the previous group properties,

• Yes

i am also attaching the file that i want.

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 ,
Dec 12, 2023 Dec 12, 2023

You can download a rather unhurried action here:

 

Grouper 1

 

Instruction:

 

  • Download and unzip the file
  • In the Actions Palette flyout menu, import the action set Grouper.aia
  • Open the Illustrator file grouper_example_file.ai
  • Don't select anything
  • Run the action grouper_001

 

Note that the action is limited to exactly 20 labels. If you have more labels (or less) you may modify the action.

 

I can imagine that there are faster general purpose Javascript approaches, but basically the action should do what you want.

 

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 ,
Dec 12, 2023 Dec 12, 2023

Mr. Kurt thanks for your support,

 

but the action is not work correctly as i share the above attached file & i am working for the variable data printing, so the breakup has no limit, some time file has 200 and above breakup, so that why i think conditional script is better for this type of wotking,

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 ,
Dec 13, 2023 Dec 13, 2023

I was afraid that the number of labels may vary considerably.

 

One single action rather cannot reproduce all possible combinations. It's an interesting task, though.

 

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 ,
Dec 13, 2023 Dec 13, 2023
LATEST

I feel like using InDesign for this would maybe work better for you as you can set parent pages for the label artwork which you can then add any number of pages you would like and the artwork will just be there. and then just fill in data as needed.

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