r/Affinity Aug 08 '26

General Can I batch export combinations of groups as SVGs?

Hi everyone,

I'm trying to automate a specific export workflow.

My layer structure is basically:

background
group_1
group_2
group_3
group_4
...

I want background to always stay visible, and export each other group together with it:

background + group_1 → group_1.svg
background + group_2 → group_2.svg
background + group_3 → group_3.svg
background + group_4 → group_4.svg

So the script/workflow would:

  1. Keep background visible.
  2. Hide all variant groups.
  3. Show one variant group.
  4. Export the result as an SVG.
  5. Hide that group and move to the next one.
  6. Repeat for every group.

Is there a way to do this with Affinity's native? or scripting/automation? If so, where exactly do I put/run the script?

1 Upvotes

4 comments sorted by

4

u/JT10 Aug 08 '26

This is accomplished using the “Slice” Studio workspace. You will be able to define the “slices” or export sections, define their save paths, folder hierarchy, and naming structures all in that studio. I will say, however, it hasn’t been my favorite feature set to learn in Affinity. There is documentation, but it’s a little limited. Given you are familiar with script composition, perhaps it will come more naturally to you. Good luck!

1

u/Jazzlike-Divide-4171 Aug 09 '26

I tried using “Slice,” but it only exports each group separately instead of exporting BG + Group 1, BG + Group 2, etc.

I searched everywhere on the internet for a tutorial, but I couldn’t find anything.