i have an Illustrator CS6 pie chart graphic element that i’d like to automate based on an external xml file via “Load Variable Library” option under Variables window.
Manual process works fine:
open pie chart template in Illustrator
“Load Variable Library” option under Variables window
select XML file
change Data Set
save file
Unfortunatelly i can’t find a way to automate this process… anybody has experiance with Illustrator Variables?
The Applescript Reference and Scripting Guide have entries for AI’s “variable” and “dataset” objects, including a “make” command, so this should be possible.
Unfortunately, I couldn’t find any actual code examples of people making variables in AI. So while it appears to theoretically be possible, the syntax for correct usage may be hard to piece together.