Similar to this question but with adobe Illustrator: Photoshop action to make 1 random layer visible within each group
I want to use an illustrator script (or action) to generate images that are composed of a random sampling of grouped layers.
- With in each of the 12 groups, I want to make 1 layer per group visible.
- Export the visible layers as an svg. Bonus points if I can change the file format.
- Repeat the process n times
I know this is similar to the code linked above though I want to be able to use illustrator instead of photoshop if possible.