Is there a script available for Illustrator that would allow for all clipping masks, groupings and compound paths to be released? Essentially a script that could breakdown a file to it’s original parts.
Answer
You don’t need a script to release all clipping mask in one step, just do:
- Select->Object->Clipping Mask
- Edit->Clear
But it can also be done via script:
app.executeMenuCommand("Clipping Masks menu item");
app.executeMenuCommand("clear");
The same for ungroupping all objects and release all compound paths:
app.executeMenuCommand("selectall");
app.executeMenuCommand("ungroup");
app.executeMenuCommand("noCompoundPath");
Attribution
Source : Link , Question Author : buzlink , Answer Author : emax