Is there any way to access or detect an existing Opacity Mask via script? (I saw a couple similar questions asked back in 2013 and was wondering if anything had changed in CC2015.)
My issue is this: I've written an Extension that automates a number of prepress tasks on files sent by clients. Sometimes the client's files contain Opacity Masks, and whenever the script moves or rotates the artwork, the contents of the mask don't move along with the rest of the art, causing the file to be incorrect. Sometimes these errors can be subtle so they go unnoticed until the client sees it (and that's capital-letters BAD). I've been searching for some way to control, or even just to detect, an Opacity Mask from a script without any success. If that's not possible, has the community found any other way to move and/or rotate artwork while retaining Opacity Masks, without the need to directly access them?
Thanks!