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

Delete bottom sublayer / remove embedded image

Community Beginner ,
Aug 13, 2017 Aug 13, 2017

Copy link to clipboard

Copied

Hello, I have an svg file with 1 layer and hundreds of sublayers.  I'm looking for a way to delete the very bottom sublayer with a script - the bottom layer for the documents I have is an embedded image I need to remove.  I know this is sorta asking two different things but either would solve my dilemma.  Any help would be greatly appreciated.

TOPICS
Scripting

Views

271

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
Enthusiast ,
Aug 14, 2017 Aug 14, 2017

Copy link to clipboard

Copied

LATEST

Something like this?

activeDocument.rasterItems[0].remove(); // works when only one image existing in the document

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