Skip to main content
itsBenMason
Inspiring
November 3, 2017
Answered

Illustrator Mysteries

  • November 3, 2017
  • 1 reply
  • 1250 views

Hellos,

Currently got an issue when trying to step artwork.

This doesn't always happen but when it does, it can be a pain

Here is the breakdown of the layers:

http://prntscr.com/h5p9nr

Here is what happens when i use the object.translate(x, y) function:

Gyazo - a240e5de488c00c087820eb94ad1b500.gif

and here is what happens when i change the position using object.position[x, y];

Gyazo - 5ccbe3e644e3648db674f2ac0ccaa5b0.gif

.ai file and the .jsx file i used for testing:

WeTransfer

If you try to click the original object, you won't be able to click to the image thats on top when you ungroup the artwork.

Cant see any attributes in the panels that might show when this happens or what might help.

Anyone had similar experiences?

Originally the object was in a bigger clipping mask (so should be all clipped up) and all the other objects were doing what they should but all the other duplicated objects would not display the shadow object.

Kind regards

Ben Mason

This topic has been closed for replies.
Correct answer CarlosCanto

I thought this might be the case i had a look through the js doc and couldnt find anything of use either,

just going to have to keep my eye out in the future and if i see anything missing (could be tricky at times) just have to go back and do the flatten transparency trick. Not going to be able to do it all the time as flattening the transparency removes overprints and named colours D:

Thank your time to look at this issue, appreciate it!


check out moluapple's and Silly-V's dirty workarounds

Scripts Don't Move Opacity Masks

1 reply

Disposition_Dev
Legend
November 3, 2017

can you share the actual file? or at least create another file with the same kind of properties if there's some confidentiality issues with sharing the original file?

It's hard to look at a gif and see what's going on.

itsBenMason
Inspiring
November 3, 2017

Thanks for the reply, on the initial post there is a WeTransfer link containing the script and .ai file i was using in my tests

WeTransfer

CarlosCanto
Community Expert
CarlosCantoCommunity ExpertCorrect answer
Community Expert
November 4, 2017

I thought this might be the case i had a look through the js doc and couldnt find anything of use either,

just going to have to keep my eye out in the future and if i see anything missing (could be tricky at times) just have to go back and do the flatten transparency trick. Not going to be able to do it all the time as flattening the transparency removes overprints and named colours D:

Thank your time to look at this issue, appreciate it!


check out moluapple's and Silly-V's dirty workarounds

Scripts Don't Move Opacity Masks