Please allow image tracing of individual colours to individual layers rather than 16 million objects.
Being able to trace one colour to one layer would make laser cutting so much easier. e.g. 16 colours to 16 layers
-
Frank, it turns out the 'group-objects-by-colors' script has one line saved wrong!
When forums migrated to a newer place, old script listings lost special symbols — thanks to Sergey Osokin for pointing that out.Still , this script requires you to create two additional custom actions to work.
One that calls for New Color Group in Swatches panel’s menu, another one that plays Select All Unused and Delete Color Group commands in the same menu.
Then you need to modify the script to include the names of these two actions (and their Action Set Names) to their respective app.doScript calls.
Then, the action requires you to use the name 'Art' specifically for the temporary swatch group, when you get the dialog.
Plus, it will group only those objects you have selected before you run the script.Here, I attach a revised version of the script (rename it from .txt to .jsx — UserVoice is restricting these fil types) and the action set you can load in Actions (again, rename it from .txt to .aia)
Tested — works.
-
Frank Hull commented
Got the script that transfers groups to layers to work, but not the color to group. I've tried Google Bard and Chat GPT as well but so far no luck. All get are error messages. Thanks for the links anyway. I'll certainly keep the groups to layers script.
-
So you want each traced color to go to their own layer?
It feels like a job for a script, rather than a build-in function. And actually the script exists already: https://community.adobe.com/t5/illustrator-discussions/ideas-to-group-same-color-path-items-without-a-selection/td-p/9319753
You’ll still have to move groups into their own layers... but there is another script you can use for that: https://community.adobe.com/t5/illustrator-discussions/how-to-convert-all-groups-to-layers/m-p/8001390
Do these work for you?