Situation - I have a group that contains some objects partially covered by opacity mask to emulate blurred edge. It is very easy to copy-paste such group in Illustrator - and copied group contais the same masks.

But in case if I'm trying to copy this group via script

var copyGroup = group.duplicate();

in copied group all masks are 100% white - so they just hide everything, that under them. Did somebody encounters such problem and maybe found the way to solve it?

  • Can you give more info on what the whole script does & more of your code? Jul 25, 2017 at 17:22

1 Answer 1


Maybe this is not the right answer but i think it could be usefull anyway: https://forums.adobe.com/thread/2368829

  • 1
    It would be even more useful if you transcripted the main part to your answer; we don't like depending on external links for content.
    – Luciano
    Jul 4, 2018 at 10:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.