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

Save As SVG includes all layers in an empty tag

New Here ,
Feb 25, 2020 Feb 25, 2020

Copy link to clipboard

Copied

Cheers,

 

I'm using Illustrator 2020 V 24.0.3 with a file including 29 icon artboards. When I click Save As -> Select an artboard like no. 15 and save as .svg the output code of the .svg file includes the other 28 layers as well but empty. Check the example below. I would expect only the code of artboard 15 which I selected previously.

 

Thanks in advance,

Alex

 

 

...
<style type="text/css">
	.st0{display:none;}
	.st1{display:inline;}
</style>
<g id="Ebene_29">
</g>
<g id="Ebene_21">
</g>
<g id="Ebene_22">
</g>
<g id="Ebene_24">
</g>
<g id="Ebene_23">
</g>
<g id="Ebene_27">
</g>
<g id="Ebene_28">
</g>
<g id="Ebene_26">
</g>
<g id="Ebene_25">
</g>
<g id="Ebene_15">
	<!-- The actual artboard i wanted to export --->
</g>
<g id="Ebene_17">
</g>
<g id="Ebene_18">
</g>
<g id="Ebene_20">
</g>
<g id="Ebene_19">
</g>
<g id="Ebene_12">
</g>
...

 

   

TOPICS
Bug , Draw and design

Views

249

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
Adobe
Advocate ,
Feb 26, 2020 Feb 26, 2020

Copy link to clipboard

Copied

I am not able to mimick the problem. You could just open the .svg in text editor and delete out the unnecessary <g> tag layers.

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 ,
Feb 26, 2020 Feb 26, 2020

Copy link to clipboard

Copied

LATEST

Thanks for the reply! That, of course, would work with one icon. The icon library currently includes at least 30 icons so that workaround on every single icon would be very inconvenient. I'll probably try to set up from scratch 🙂

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