Copy link to clipboard
Copied
Isolate/Edit Symbol
How to Isolate/Edit Symbol via script?
I want to open and edit the symbol without double-clicking on it or clicking the "Edit Symbol" button on a properties panel.
I know that changing multiple symbols will not be possible. I just want to select one symbol and use a script to edit (because I use very small elements inside the symbol and it is difficult to double click on the element to open the symbol)
Copy link to clipboard
Copied
Unfortunately, I don't think it's possible. At least not in one scripting process as you envisaged it.
Copy link to clipboard
Copied
You can double-click the symbol in the Symbols panel to edit it. Can you please explain how launching a script would be easier than this? Then we might be able to see what lateral thinking might achieve. 🙂
- Mark
Copy link to clipboard
Copied
Hey Mark.
I can't necessarily speak to @BRODZELi 's need here.. But i've always dreamt of being able to access a symbol from a script so that i can dynamically replace "placeholder" contents with actual artwork.
For example, if i have 10 differnt symbols (with many instances of each) in a document, i'd like to be able to write a script that loops through each symbol and conditionally replaces its artwork or deletes the symbol if not needed.
You're right that it's not difficult to double click in, but it's a double click for each symbol you want to edit.
Just my $.02 USD
Copy link to clipboard
Copied
Yes, totally agree. It'd be great if symbols were first-class citizens of the scripting world. 🙂
I'm genuinely curious, as it seems @BRODZELi' is okay with editing one symbol at a time, so I was just trying to understand why the double-click in the symbol panel wasn't right. - Mark
Copy link to clipboard
Copied
As @femkeblanco stated, we unfortunately can't reach into a symbol from a script. However, you can double click the symbol in the Symbols Panel to edit it. you don't have to isolate on the symbol instance. I know how difficult selecting tiny artwork can be, but no matter the size of your symbol, its icon in the panel will always be the same size. Then once you've isolated, i believe you can run a script while you're in symbol editing mode and it should work, though i haven't actually tried.
Or am I misunderstanding the issue?
Copy link to clipboard
Copied
Are there symbol instances in your document?
Then I would try with script
Find more inspiration, events, and resources on the new Adobe Community
Explore Now