Send to Current Layer not working - moves entire layer instead of only selected objects
I'm trying to move some objects from one layer to another.
I'm selecting a series of objects, then clicking on the empty layer that I want to move the objects to. I'm choosing Object > Arrange > Send to Current Layer. When I do this, instead of only the selected objects moving (expected behavior), all the objects on the layer are sent to the other layer.
(Normally I would simply cut the objects, then use Paste In Front on another layer to paste them in the same position. But these functions are also not working for me - the objects get pasted in a random position.)
I think it's a bug, but maybe I'm doing something wrong?
Any help is greatly appreciated.
Illustrator 2023 v27.2
MacBook Air M1 running macOS Ventura 13.0.1
-
Sergey Osokin wrote a small script to help you with this:
https://gist.github.com/creold/9d4432746cd0342e0b952b3148706eeeIt pulls the selected objects out of their groups to their parent layers. Once it’s done, you can use the Send to Current Layer command to collect them in the selected layer.
Note that if some objects selected make up a totality of group, this group will be preserved (and I think it’s a proper behavior, since it keeps the user data as full as possible).
Please reply if it works for you.
-
I see what is happening, Dustin.
You select children in a group, with Group Selection tool.
But the command won’t move these selected objects out of their container, it moves, but respects the structure. So it moves the parents of the selected objects, keeping groups intact.
I understand the problem, the command should be named 'Send Parents of Selected Objects to Current Layer', but it obviously won’t work.To do what you want to do, 'cutting, selecting the proper layer, pasting' should work, but you say it messes it up. How? Can you demo it or at least describe? Video is surely better.