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.
Something like this?
activeDocument.rasterItems.remove(); // works when only one image existing in the document