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

asset export - can the asset name pickup the layer's name automatically ?

New Here ,
Aug 13, 2019 Aug 13, 2019

Hi all,

i've spend quite some time to name my layers with good, make-sense names and when I try to export Illustrator call them 'asset 1', asset 2', etc.. !

I know i can rename them but it's really annoying and time consuming as I have hundred of assets to export !!

can it pick up the name of the top layer automatically ?

thanks !

TOPICS
Scripting
5.4K
Translate
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
Adobe Employee ,
Aug 14, 2019 Aug 14, 2019

Hi Andrew,

Thanks for reaching out. I understand that you are trying to export assets with layer names. This might be possible through scripting. I am moving this discussion to Illustrator Scripting​ forum so that you can get some more responses from our scripting experts.

Regards,

Srishti

Translate
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 ,
May 05, 2020 May 05, 2020

Yes, this is VERY annoying trait of the poorly implemented Asset Export 'feature' that barely works and is never updated. 

 

You CAN get the layer name - but NOT in any of the ways you'd expect. You have to select the layer and click the export layer button at the bottom of the layer palettle. Hope that helps. 

 

(You may notice however, that if your layers are nested more than one deep, your exports may be broken and add tons of space and random things to it. Very broken.) 

Translate
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 ,
Mar 16, 2021 Mar 16, 2021

Thank you!!!

Translate
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 ,
May 06, 2020 May 06, 2020

Try the layer exporter script: https://gist.github.com/TomByrne/7816376

Translate
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 ,
Nov 11, 2020 Nov 11, 2020

Hi Andrew,

I have exactly the same problem. I am trying to find a way to save files with layer names. This tool (Asset Export) works perfectly, but renaming is a pain 😞 Did you find a solution? If not, I'm serious about learning about scripting just to create a script to solve this problem.

Best regards,

Voysla.

Translate
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 ,
Nov 11, 2020 Nov 11, 2020

renaming the Assets already in the Assets panel is not possible, but naming Assets that we add to the Assets panel is doable via scripting. 

 

Can you share screen shots of your layers expanded and explain where the Asset names should come from?

some users often refer to objects as layers (not you, in general).

Translate
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 ,
Nov 12, 2020 Nov 12, 2020

Hello Carlos,

Thanks for the quick response 🙂

 

I solved this problem last night. Now I will try to describe the solution:
Yes, I thought the assets take their names from the layer names. But I was wrong. Since assets take names from the names of objects (groups). Since my groups had no names, the assets were named aaset1, asset2, etc. To solve this problem, I simply created a new layer and dragged all the named layers into it. Thus, when creating assets, they were named as I wanted.

0fc0c-clip-176kb

Hooray!

Good luck to all! Hope this will be helpful.

Translate
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 24, 2022 Jun 24, 2022

Fantastic fix – many thanks!

Translate
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 19, 2024 Feb 19, 2024

Just what I needed 

 

Translate
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 ,
Apr 09, 2025 Apr 09, 2025
LATEST

Genius thankyou for solving this. Excellent results. Cheers mate.

Translate
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 ,
Nov 12, 2020 Nov 12, 2020

awesome, thanks for posting your solution

Translate
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