Skip to main content
Participating Frequently
August 20, 2011
Answered

Multiple datasets on a single sheet

  • August 20, 2011
  • 19 replies
  • 5939 views

Hi! I'm a newbie at Illustrator scripting and I wish to create a set of data-driven labels. The labels are to be printed 16-up per sheet. I have gotten the XML file to work and Illustrator is able to pick up the data however it only allows me to change the first label in that .AI.

What do I have to do in order to print 16 different datasets of labels per sheet?

Correct answer moluapple

Oh and I already grouped them. Not sure what else I'm supposed to do here.


ledesirardent wrote:

Oh and I already grouped them. Not sure what else I'm supposed to do here.

Before run it, you should draw a rectangle on top, select the rectangle and all others and then group all.

For your second question, all you need is apply a (4*4) transform effect to you data group.

19 replies

Inspiring
August 20, 2011

May this snippet help you!

It merge all you dataSet into a new illustrator document, like Indesign's dataMerge function do.

You only need one label, delete others, and the script will create for you. Just make sure to draw a rectangle on top of all you data object, group all and run this script. Save your works first!

Participating Frequently
August 20, 2011

Thanks @moluapple for the advice but unfortunately that's not exactly what I'm looking for. Sorry if I wasn't being clear with my question earlier but I'm not looking for a script that auto-generates all my datasets in one sheet. I wish to have more control over what datasets that needs to be printed in one sheet so I'm wondering if there's a script out there that can like me select what datasets I wish to get printed per sheet.

I've taken a screenshot of my artwork and an example of my dilemma is as shown: I wanted to change the dataset for the selected blue box but it changed the first box instead. I wish to be able to click each box and select the dataset and move over to the next and voila, print. I only need 16 different datasets to be printed per sheet.

Is that possible?

I hope you understand what I mean.

Inspiring
August 20, 2011

What you had asked is impossible, because of your misunderstanding of illustrator's variables property: one variable can only binding to one object(or multi object with same value)!

OK, I upload a video for you, doesn't this what you need indeed?