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

Using variable data with Adobe Illustrator CC

Community Beginner ,
Jul 12, 2018 Jul 12, 2018

Copy link to clipboard

Copied

Hi,

I'm new to all things Adobe Illustrator CC so hoping for advice. I currently create simple Infographics for my sports advisory service https://betsharper.com using the cloud based Canva service. This is a manual activity so am looking at ways in which I can automate and scale the production of simple infographics (see this as an example on the images I am creating - https://betsharper.com/france-vs-croatia-odds-win-money-using-two-sharp-predictions/). The Chance of Winning, The Banker and the MoneyMaker images are the ones I am looking to produce more efficiently.

I am intrigued as to how extensible the 'variable data import facility' actually is. In order for this to work, to use a more specific example, for this image [https://betsharper.com/wp-content/uploads/2018/07/France-vs-Croatia-Chance-of-Winning-Match.jpg ], I would need to:

  • dynamically change the words 'France' and 'Croatia' for the next set of sporting events.
  • provide numeric data to auto-create a simplistic adobe illustrator chart (I guess a bar graph is closest to what I have today in 'Chance of Winning Match').

Can I use variable data to achieve both those things using one 'import'? I have seen a tutorial which does the former (together with a useful bulk save option) but not the later, yet.

Any advice gratefully received......

James Burns

BetSharper.

Views

4.0K

Translate

Translate

Report

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 ,
Jul 12, 2018 Jul 12, 2018

Copy link to clipboard

Copied

As far as I understand your request, you cannot completely automate both things. Some manual postprocessing seems to be required.

Apart from that: Your prediction for the final is unjustifiable. It's a matter of course that Croatia will take the cup!

(in the past I was often wrong when it came to predictions)

Votes

Translate

Translate

Report

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 ,
Jul 12, 2018 Jul 12, 2018

Copy link to clipboard

Copied

Ha, many thanks for the response Kurt, would love for the 'wee' team to pull of a shock in this one (just like arguably, they did against England), but think this may be one game too many. It'll be a superb game regardless between 2 great teams!:)

Back to the main mission of this forum, I took from this explainer (https://www.youtube.com/watch?v=LtczKHAB74khttp://), that the textual side of my request  would be possible, in your experience, is it the graph creation part that would require post processing?

Kind Regards

James

Votes

Translate

Translate

Report

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 13, 2018 Jul 13, 2018

Copy link to clipboard

Copied

Yesterday my assumptions were probably too complicated or I thought Illustrator's variables should not only show predictions, but also calculate the correct predictions. That is obviously wrong and you would lose your business.

I've uploaded a sample file in CC format:

betsharper_001.ai.zip - Google Drive

Open the Variables palette and cycle through the datasets. There are five matches.

Is that something you are looking for?

PS: The Germany vs. England prediction is from Gary Lineker, not from me.

Votes

Translate

Translate

Report

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 ,
Jul 13, 2018 Jul 13, 2018

Copy link to clipboard

Copied

Hey Kurt,

Thanks again for the assist. I don't have Illustrator CC yet (so can't look at the intriguing attachment) as I wanted to evaluate what was possible with 'variable data' first, before purchasing.

I am pretty sure CC can do the first part of my requirements (the youtube link above demonstrates this, through creation of multiple Illustrator files with varying text values). The part I don't know, can I pass in numeric variables (so for 'chance of winning', France = 51%, draw = 30% and Croatia = 19% and have CC auto-populate a chart already embedded in the template?

Does that make sense? Apols I can't see the .io file you created, really appreciate the support regardless.........

Votes

Translate

Translate

Report

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 13, 2018 Jul 13, 2018

Copy link to clipboard

Copied

As per your description I'd say: Yes, you can do that. How exactly depends on the template.

By the way, the variable procedures shown in the sample file do work in older versions of Illustrator as well. They were introduced in Illustrator 10 about eighteen years ago.

In case you want to take a look at the sample file, you may download and install a trial version of Illustrator.

I'm not sure what you mean by "the .io file you created". The link I provided contains a compressed .ai file (.zip).

Votes

Translate

Translate

Report

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 ,
Jul 13, 2018 Jul 13, 2018

Copy link to clipboard

Copied

I didn't know you could try for 7 days, downloaded and already playing with the .ai file you kindly provided to get me started. Lots of food for thought Kurt, many thanks, I will have a play and report back what I find to this forum.

PS I did laugh when I spotted the England Germany Probability of Winning, courtesy of Gary Lineker:)

Votes

Translate

Translate

Report

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 ,
Jul 16, 2018 Jul 16, 2018

Copy link to clipboard

Copied

Hey again Kurt, so that I can learn, I have tried doing this myself by creating a new template, making the text elements dynamic, creating my own data set and importing this as a new variable library.

I've started simple and only went to map the three upper text fields as 'Team_Name_1', 'Draw' and 'Team_Name_2'. I converted an xls to xml and post 'load variable library', I can now cycle left and right between them, nice!:)

However, I cannot seem to get the team name and the % value to go onto different rows without manually playing around with them (which defeats the purpose of an exercise like this). Anytime I try and move the %'s to the row below team name, I get a 'the current values have not been captured, and will be discarded upon switching data sets. Proceed?' message which when I proceed, doesn't cascade my formatting change across all records. I am sure I'm missing something, is it obvious?

For context, here is a screenshot of the before (and demonstrates why I need % on the next row......

Screen Shot 2018-07-16 at 5.01.14 PM.png

Votes

Translate

Translate

Report

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 17, 2018 Jul 17, 2018

Copy link to clipboard

Copied

Sounds as if somewhere along the process you "forget" to capture the modifications that will define a different variable state.

If you can share this .ai file, I or someone else may have a look at the document.

Votes

Translate

Translate

Report

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
Valorous Hero ,
Jul 17, 2018 Jul 17, 2018

Copy link to clipboard

Copied

There's no in-line variables in Illustrator, so you have to have the % text inside a different text element. It is also possible at least with the VI script to have nextlines inside data cells, which will transform into illustrator nextlines. This could be used to put the % in different rows without having separate variables and text items in your document.

Votes

Translate

Translate

Report

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 13, 2018 Jul 13, 2018

Copy link to clipboard

Copied

You may also wish to look into the VariableImporter script from Vasily Hall, which predated the new Illustrator feature to import .csv based data. Originally Illustrator could only import specifically formatted xml data for variables, which almost made it inaccessible to average users. The script from Vasily opened the way…

Prepression: Illustrator – VariableImporter Script Part 7 Tutorial

Prepression: Illustrator – Introducing the VariableImporter Script

Votes

Translate

Translate

Report

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
Valorous Hero ,
Jul 15, 2018 Jul 15, 2018

Copy link to clipboard

Copied

That's right, you can use the VI script in some capacity on versions as early as CS4!

Votes

Translate

Translate

Report

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 ,
Jul 17, 2018 Jul 17, 2018

Copy link to clipboard

Copied

Ha,  I love the use of "forgot". I am currently googling ''define different variable states' so you can tell my level of proficiency!:) Let me try and embed my more basic version of what Kurt probably created inside 2 minutes to see if someone can spot exactly where I went wrong.

https://1drv.ms/u/s!AsSazklUaMlUi-V8JnhT2Vpo87Xqrg

Thanks for the assist also Silly-V. I'm going to (try and) explore the boundaries of the core app first, before I head down the scripting route, but I suspect it's a matter of time as once I get the textual side working, hoping to understand if I can pass in variable data to populate the graph and perhaps text formatting too. I don't ask for much, right

Votes

Translate

Translate

Report

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 ,
Jul 24, 2018 Jul 24, 2018

Copy link to clipboard

Copied

I'd like to see how the two would compare for you once you get going!

After all, there may not have been a 'core app' without the VI script paving the research.

However when it comes to text formatting, .. script or no script, you'll probably want to check out all my LinkedIn articles and see what crazy stuff can be accomplished.

For one small example, you can thread point-text and line-text frames together using text-threading. Then in your variable data you can have a cell with such nextlines that each line appears on an individual line of your text. This is kind-of cool since each of the text frames can be in all different places. What's cool too is how each of them can be individually styled using the appearance palette.

You may be able to tell I've nerded out on this for a while now. Haha.

Votes

Translate

Translate

Report

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
Valorous Hero ,
Aug 27, 2021 Aug 27, 2021

Copy link to clipboard

Copied

LATEST

I realized this was actually me on a different account. First I thought it was someone else who also nerded out on this topic. But both surprisingly and dissapointingly, it was just me all along. Ha!

Votes

Translate

Translate

Report

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