Skip to main content
Participant
Jul 18, 2019 8:43 AM UTC
Answered

Illustrator - Views : export to PDF (Like photoshop layer comp.)

Hi everyone,

Basically I got a hundred business card to do with different names on it, and I was wondering how can I do that and export all in one click without creating a hundred of Artboards.

So I'm looking for a script or something that can run for example  "New view 1" (created in menu View > New view) and export it to PDF, then run "New view 2" and export to PDF again, like the save layer comp to file export in Photoshop all automatically. I think it's an useful  feature that is missing in Illustrator.

I did a little search on that to create a script but unfortunately I don't have time to learn how to script in Jvs. I was thinking about a script that execute shortcuts (that is assigned to all of my New views) and export artboards to PDF.

I've found nothing on this subject on the web except a topic on this forum from 2013 without any answer,

then If someone has an answer for that I'll be grateful, thanks

Ton Frederiks
Ton FrederiksCorrect answer
Community Expert
Jul 18, 2019 1:42 PM UTC

If you already have the layers,, maybe this explanation from Kurt Gold about layer visibilty will help.

Re: Organize layers, hide/show combination

12 replies

Participant
Jul 19, 2019 7:54 AM UTC

Thanks it works ! Now i've got a hundred PDF generated in few seconds, so thanks a lot for that.

Translate
Ton Frederiks
Community Expert
Community Expert
Jul 19, 2019 12:04 PM UTC

Good to hear that worked.

Translate
meganchi
Legend
Jul 18, 2019 2:16 PM UTC

Personally I would recommend saving and placing an Adobe Illustrator .eps file of your art into Adobe Indesign and add names using data merge.

Here is a tutorial if you have never done this method before.

https://www.thetigerparty.com/tigerblogs/2014/10/15/using-data-merge-function-in-indesign-to-create-business-card

Translate
Ton Frederiks
Community Expert
Community Expert
Jul 18, 2019 2:41 PM UTC

Why EPS? Last century file format, no transparency, no ICC color management.

InDesign has no problem with .ai files.

Translate
Participant
Jul 19, 2019 7:39 AM UTC

Thanks Ton, it works ! Now I have to find out how to export automatically all capture data set to pdf, maybe use Action Batch like you said

Translate
Lukas Engqvist
Community Expert
Community Expert
Jul 18, 2019 1:15 PM UTC

As Ton mentioned, in illustrator they are called data sets.
You may also want to check out Illustrator Variable Data - The EASY way! - YouTube  or Adobe Illustrator Variable Data Importer - YouTube     

Translate
schroef
Inspiring
Aug 9, 2025 5:33 PM UTC

It feels like a dinosaur, kinda undeveloped. Has quite some issues with data readings also when something is changed in the data set  

Translate
Ton Frederiks
Community Expert
Community Expert
Jul 18, 2019 12:32 PM UTC

You can Use Variables to generate the bussines cards and use Actions Batch to export them.

Merge data to create data-driven graphics through templates and variables in Illustrator

Translate
Participant
Jul 18, 2019 1:21 PM UTC

Hey Ton & Lukas,

thanks for this one, it's a great solution, the fact with that, is that we have to combine XML/text file, excel tab or something, with variables, I only want to show and hide layers automatically (each names & info have it own layer) and export without using external data. I saw a dynamic eye into the variables tab to show or hide some stuff, maybe I'll have to take a look at it...

Translate
Ton Frederiks
Community Expert
Ton FrederiksCommunity ExpertCorrect answer
Community Expert
Jul 18, 2019 1:42 PM UTC

If you already have the layers,, maybe this explanation from Kurt Gold about layer visibilty will help.

Re: Organize layers, hide/show combination

Translate