Hi All
Have a little problem and need your help:
- I have an ai with hundreds of objects in it. All in one layer.
- There are two types of objects: blocks and textlayers (numbers). So each block has a number on it's top.
What I finally need is a new layer structure:
- Each object+textlayer must be put in a separate layer AND that new layer must be renamed to the number which is inside that layer.Like that:
My first thought was to collect objects by it's position. For example: Position of the text object can be placed at x and y coordinates of the block, but + 2mm offset for margins. This would be the recognition point for the script to put them in the separate layer.
Or look for overlapping objects and put them in a new layer.
Also found something which can work with existing scripts if there can be written an additional one:
Here is a script for converting groups into layers and retaining group names:
http://forums.adobe.com/thread/892733
Here is a script to make groups out of overlapping objects:
http://js4ai.blogspot.be/2008/04/new-script-group-overlapping-objects.html
In theory if there would be a script for changing group names to the textlayer names, then the problem would be fixed in those three steps.
Does anyone know a solution for this? I'm not a developer, know almost nothing about coding.
Thanks!