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?

bumped to the homepage by Community 2 days ago

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

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

Maybe this is not the right answer but i think it could be usefull anyway:

  • 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 at 10:09

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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