Selecting white paths and deleting via script
Hi Guys,
I am pretty new to JS scripting in Illustrator CC.
I currently have a script that does the following;
- Loads a bitmap
- Centers it
- Performs a B/W image trace
- 'Expands' the trace
- and then saves the file as an AI file
This is working great. But I am wondering how I could add a step after the 'Expand' to select the white content and delete it. Leaving just the black area.
Any advice would be greatly appreciated.
Thanks in advance ![]()
Edited title to fit more with AI terminology