So there is now a button to merge shapes. But is there a way to merge layers? Putting all shapes in one single layer.
Perhaps a script that does it?
For example I just imported an svg with tons of different layers for something that could really be in just one, and wish I could avoid selectall/copy/pasting dozens of time.
Merge layers?
Moderators: Víctor Paredes, Belgarath, slowtiger
- hayasidist
- Posts: 3840
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Merge layers?
did you use the 14.0 svg import? that has an option to merge layers...
Re: Merge layers?
Here's one: Merge Vector Layers
Note that this tool doesn't account for layer transformations, but It's good practice not to transform artwork layers in the setup frame 0; better to transform the points directly instead. If you have transformed any layers at frame 0 differently from other layers in your selection, you'll want to first use Reset Layer Origin, which resets the transform and applies it directly to the vertices.
Or do what Hayasidist suggested with the SVG import command. (Cool tip, Paul! I'm going to try it now.)
Note that this tool doesn't account for layer transformations, but It's good practice not to transform artwork layers in the setup frame 0; better to transform the points directly instead. If you have transformed any layers at frame 0 differently from other layers in your selection, you'll want to first use Reset Layer Origin, which resets the transform and applies it directly to the vertices.
Or do what Hayasidist suggested with the SVG import command. (Cool tip, Paul! I'm going to try it now.)

Last edited by Greenlaw on Fri Apr 26, 2024 3:34 pm, edited 6 times in total.
NEW! Visit our Little Green Dog Channel on YouTube!
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
Re: Merge layers?
BTW, if you ever need to do the opposite and break apart a vector drawing into multiple layers, use the RT Break Apart Shapes command under Scripts > Layer Effects. I had to use this command for the very first time last week, and it did the job perfectly! (Tip: You need to select the points of all the shapes before running it.)
Note: this tool has a Put All Shapes Into One Layer option, but I never got that part to work for me. I just assumed it was broken because it's a very old script, but now I'm wondering if I just used it incorrectly. Does anybody know if this part still works?
Note: this tool has a Put All Shapes Into One Layer option, but I never got that part to work for me. I just assumed it was broken because it's a very old script, but now I'm wondering if I just used it incorrectly. Does anybody know if this part still works?
NEW! Visit our Little Green Dog Channel on YouTube!
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
D.R. Greenlaw
Artist/Partner - Little Green Dog
Little Green Dog Channel | Greenlaw's Demo Reel Channel
Re: Merge layers?
Thnak you so much! I'll try that script. It's true that I could have used the import svg option in that particular case.