• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How I can export/save all sub-layers to multiple SVG files

Explorer ,
Feb 22, 2020 Feb 22, 2020

Copy link to clipboard

Copied

Hi,

I have a AI file with 36 graphichs on ONE layer, I want to separate save into 36 single SVG files.

 

1. choosed released to layers (build) from LAYERS WINDOWS

2. now have 36 sub-layers (as pictures)

sub_layers.png

Now, how I can save these 36 sub-layers into 36 different SVG files ?

 

I tried MultpleExporter Script from gibhub but it CANNOT export sub-layers.

 

Anyone have ideas to help me on this topic ?

 

Thanks

 

Calvin

TOPICS
Import and export , Scripting , Tools

Views

4.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 22, 2020 Feb 22, 2020

Select the first sublayer, hold down the Shift key and click the last sublayer.

Drag all the sublayers above the toplayer and delete the empty layer.

Votes

Translate

Translate
Adobe
Community Expert ,
Feb 22, 2020 Feb 22, 2020

Copy link to clipboard

Copied

Select the first sublayer, hold down the Shift key and click the last sublayer.

Drag all the sublayers above the toplayer and delete the empty layer.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 22, 2020 Feb 22, 2020

Copy link to clipboard

Copied

Thanks very much, works like a charm!!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 22, 2020 Feb 22, 2020

Copy link to clipboard

Copied

Good to hear that helped.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 02, 2020 Jul 02, 2020

Copy link to clipboard

Copied

this doesn´t work for me :(((
when i drag the sublayers above the layer, then apper a bloqued symbol 

 

WhatsApp Image 2020-07-02 at 14.49.51.jpeg

can you help me?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 03, 2021 Jan 03, 2021

Copy link to clipboard

Copied

Hey, Laura

Have you found a solution to this? I am currently trying to accomplish the same goal as you are.

I noticed that you have the layer titled : nyt_exporter_info. 

I assume you attempted the method found in this youtube video as well : https://www.youtube.com/watch?v=_9MX2moFX4A

MarshallW_0-1609706661626.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 22, 2020 Feb 22, 2020

Copy link to clipboard

Copied

Why do you need layers? Export for screens is not an options? https://helpx.adobe.com/illustrator/using/collect-assets-export-for-screens.html

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 22, 2020 Feb 22, 2020

Copy link to clipboard

Copied

Thanks very much, will try this option see if faster, thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 03, 2021 Jan 03, 2021

Copy link to clipboard

Copied

Is there a method to include relative position using "export for screens"?  I'm using 2018 verison of Illustrator, so I am not sure if this is inlcuded as a function for Illustrator 2021

MarshallW_0-1609706937826.png

 

When exporting, the image dimension is cropped/ minized to only show the asset/icon. I know this is useful and handy in  other situtations and is especially true for UI/UE design. 

But for someone that is lazy like me. Is it possible to export the sub-layer image with a preset dimension or retain location in artboard? 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 17, 2021 Jun 17, 2021

Copy link to clipboard

Copied

Did you find an answer to this by chance? 

I would also like to export the sublayers as individual files using the size of the artboard for each one and not the size of the object itself. 

Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 19, 2021 Jun 19, 2021

Copy link to clipboard

Copied

Unfortunately I have not found any answers to this.

But today, as I was going back through this thread. I thought, "what if you group assest with a invisible square/rectangle with preset dimension. In that case, would it make it so you export the icon but with fixed relative position"

So I went into illustrator and did exactly that. It solved the issue. But this work-around will eventually increase file-size by a lot. Also would mean for EACH asset, you have to produce a respective frame, therefore increasing time spent on the project. So I dont know how effective this method is.  

 

For small projects, this is probably very effective. 

 

MarshallW_0-1624108420634.png

MarshallW_1-1624108554271.png

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 19, 2021 Jun 19, 2021

Copy link to clipboard

Copied

LATEST

This script doesn't clip to artboard?

https://gist.github.com/TomByrne/7816376

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines