Change content of a Symbol (colors and/or artwork)
Hi,
I am working on an automation script to change colors and I am using Symbols to automate a part of the job already.
Short story :
I need to cycle through the existing symbols, select fill colors matching my spot color, change them to another spot. Same with strokes and move on to the next symbol. I thought it would be a matter of using array value in symbolItems but it looks like it won't work. The only solution I found was to break the symbols before but it negates it's time saving and creates more human mistakes.
Long story :
I automate process and clients don't have the same requirements as people withing the enterprise so I automated the task using a mix of symbols and scripts. Works well but now I would like to go one step ahead and automate color changes in the items of the symbols. I got the javascript figured out and I'm able to generate it from a csv file that is automatically filled from a form. That was done before symbols came into place. But now I have to figure out a way to run my script within the symbols without enterring them manually. I can break them but if I do break them any other manual steps over the drawing won't affect the other and will need to be duplicated which lead to many mistakes and time lost.
Basically I want to do a for loop that loops through all the symbols and run my script from within the symbol and move to the next one.
Is there a way to access the content of the symbols? If not I guess I'll have to set a shortcut to that script and tell people to execute the script within every symbols manually.
Thank you for your help!
