Copy link to clipboard
Copied
I'm new to Illustrator Script, so this might be an easy question, or beyond illustrator script's possibility.
I have these symbols, once you edit one, it mirrors to all. So I have to enter symbol editting stage first.
but I can't select any them.
I tried putting images over them manually, but I couldn't do that either. TextFrames are quiet easy, but when it comes to images or Linked Files, I'm stuck.
Anyone ever had similar problems? And any ideas?
I have been stuck on this and could not figure it out: in theory it should be very easy to use symbols to auto-replace art because once you go through the manual steps it all works automatically.
However, as you point out, there really does not appear a way that we can open up a symbol for editing through scripting.
We can possibly make new symbols, but it really defeats the purpose of automatic placement and sizing, you might as well go through the manual scripting steps to scale things and move
Copy link to clipboard
Copied
I don't quite understand your goal. Do you want to create symbolItems with placedItems as the symbols? Can you elaborate further?
Copy link to clipboard
Copied
Sorry for the confusion, I wanted to edit symbols like like this:
---
And the result should be like this:
---
However as @Silly-V replied, I fear there's no way doing it by editting though scripting.
Sadly it should be mirrored as well. That's why I wanted it to exist to be honest.
Copy link to clipboard
Copied
I have been stuck on this and could not figure it out: in theory it should be very easy to use symbols to auto-replace art because once you go through the manual steps it all works automatically.
However, as you point out, there really does not appear a way that we can open up a symbol for editing through scripting.
We can possibly make new symbols, but it really defeats the purpose of automatic placement and sizing, you might as well go through the manual scripting steps to scale things and move things and just not use symbols.
While emulating that the native symbol features do with regular scripting commands may be ok in some cases, other times they do require symbols for saving file space or something. In that case you'd have to make your symbol via script after editing the artwork to scale it, etc, and then duplicate and re-align that new symbol everywhere.
The only way to achieve a symbol-like behavior is to use placed files which can be opened and edited by script with no issue.
I am still looking for some work-around on symbol editing that doesn't involve anything other than ExtendScript because replacing symbols is potentially quite useful if we can do it with scripting. Unfortunately there are no scripting commands to open up a symbol for editing nor do the actions to edit a symbol get recorded (while deleting a symbol is).