Delete multiple Layers by selecting multiple object?

Hi Designers,
I'm going to connect my AI file to After effect.
So I had to create lots of layers in order to edit them seperatly in After effects.
But it seems like my amount of layers are too large because AE always crashes (not responding -> Force quit)
So I wanna break some stuff down in multiple AI files, but I don't wanna go and select every layer and delete it.
That would take too much time.
Is there a way to select the multiple objects in Illustrator and delete that but also its layer its in?
Thank you!

MisterStylow wrote:
Delete multiple Layers by selecting multiple object?
So I wanna break some stuff down in multiple AI files, but I don't wanna go and select every layer and delete it. That would take too much time.
[Q:] Is there a way to select the multiple objects in Illustrator and delete that but also its layer its in?
You could do that via a script, here is a quick example:
// Purpose: Select multiple objects and delete them along with their layer
// Note: However, it does not differentiate sublayer structures
// Just select your desired items, then run this script snippet,
// to remove the selected items along with the layer they are on.
var doc = app.activeDocument;
for (var i = doc.layers.length - 1; i >= 0; i--) {
    var layerID = doc.layers[i];
    if (layerID.hasSelectedArtwork == true) {
        layerID.remove();
Hope it proves useful to your efforts and workflow. Keep us posted.

Similar Messages

  • Convert multiple layers into separate smart objects

    I have multiple layers in a document that I want to make into separate smart objects.
    If I select them and choose "convert to smart object" in the Layers Panel fly out, it flattens the layers into 1 smart object.
    Can it be done, or do I need to make each layer a smart object one at a time.
    OR... let me back up
    I have several files in Bridge, I want to "load into Photoshop layers" using the TOOLS > Batch Command BUT have each file load as a smart object.
    Either way would be great!

    While these don't use the batch command, take a look at
    from within photoshop, File>Scripts>Load Files into Stack.
    For bridge try Dr. Browns Services:
    http://www.russellbrown.com/scripts.html
    If you have cs5, you can drag files from mini bridge into an existing
    photoshop document, for smart object layers, provided you have
    your preferences under general to place or drag raster images as smart objects.
    MTSTUNER

  • Is it possible to select multiple layers by selecting first and last layers?

    I frequently get Illustrator files in that have individual objects such as paths on individual layers that could be grouped to make the layers more concise. I find that I have to shift click each individual layer to select it to eventually group it. At times, I have 25 or so layers that I need to select. Is there a way to select the first and last layer in the layers palette, and have Illustrator select all layers in between?

    Katrina,
    And I guess it's the way I work. 1) I routinely select objects by selecting them from the layers palette, and not the canvas, so that I can't accidentally move an object that is the clients artwork. I prefer to work this way, as I consider it "safer". (I lock layers I'm not using) I routinely run into artists work that for instance, converted fonts to outline, and now each compound layer that is an individual letter is an object on it's own layer. 2) I need things grouped together and titled so that if I need to come back to this file and quickly fix something on press, I can tell what layer holds what object. 
    3) Therefore, I frequently need to select objects in a two mile long (slight exaggeration ) list of layers/sublayers and group them, retaining them in their same layers in the event an effect has been applied at the top hiearchy of that layer.
    It would be great if a key, or combination of keys, would allow me to select the top object, scroll down and select the last object, and have Illustrator select all between those two.
    If you create and use selections as suggested in post #12, you do have to select individual objects when they share layers with other objects (but you can select whole layers as well) in exactly the way you are used to (1), but you only have to do it once instead of having to repeat it (3), and you have them collected with a title so you can find them again (2).
    At least it is part of the way.

  • Simultaneously select multiple layers and sublayers

    Hello
    I am having to select multiple layers and their sublayers in Illustrator 2014, but taking the procedure described in the post below only lets you select multiple "main layers" with the sublayers left unselected.
    Re: Is it possible to select multiple layers by selecting first and last layers?
    Would someone please explain how both layers and sublayers can be selected in the Layers panel?
    Getting more and more confused about the layer control in Illustrator..
    Thank you in advance,
    Ead

    Ead,
    I believe it is a matter of implicit selection, which may be a bit diconcerting.
    You may try this:
    1) Create a (small) number of layers with sublayers (or use the set yopu have), and tick Paste Remembers Layers;
    2) ShiftClick first and last (relevant) and Ctrl/Cmd+C;
    3) Create a new document and Ctrl/Cmd+F.
    Is anything missing (obviously, everything copied has been selected)?

  • Select Multiple Images

    For some reason, I can't get LR to make changes to multiple images. For example: I select multiple images and apply the same rating and it only does one image. Same thing for deleting. Also, I select multiple images to use a external noise reduction and it also one uses one image.
    I am wondering if I have a setting turned off somewhere to prevent it from applying changes to multiple images.
    Thanks

    That did the trick.
    Thanks

  • How to select and move objects on multiple layers

    Coming from Photoshop...  how do I move the contents of multiple layers across the page at one time?
    In photoshop, i would click on one or more layesr in the Layers panel, and then use the move tool to move them all on the page. How do I do that in Fireworks? It seems to be too basic to be documented anywhere I have seen but the interaction is very different. I tried  ctrl-clicking on multiple layers and sometimes is seems to work. the objects are selected and I can move them. Other times, it just refused to select anything or it only select the object within one of the selected layers.
    It sort of looks like selecting a layer selects objects in that layer unless the layer has a child layer. Is that true? Seems a strange limitation if it is.
    I saw a comment somewhere that suggrested grouping and ungrouping which seems a little complicated for a basic editing action. Also, if it won't select the objects on all of the selected layers.
    I'm guessing that I'm missing a basic concept in Fireworks here.

    I found that It worked if I selected a layer, if there is a child layer
    then shift>select and ctr+click other layers or objects. You could also
    lock layers/objects you don't want to move and use Select>Select All, if
    you are moving most items.

  • Is there a way to shift select multiple objects in layer palette, not just highlight multiple object

    Hi,
    Is there a way to shift select multiple objects in layer palette, not just highlight multiple objects?
    I would want to do this when I have a bunch of objects hidden under some other objects on the artboard. This feature is available in PSD, so I assume Illustrator should have it.
    Thanks!

    Thanks for the reply, Harron.
    I'm using CS4 & below.
    Highlighting object - click on object in layers palette & it turns blue
    Select object - click on object in layers palette to the right of the circle, which creates a square, and selects the object on the artboard
    How do I shift-select multiple objects in the layers palette...select 50 objects with a click, then a shift-click? Shift-select works for highlighting, but not selecting. On most programs shift-select is used to grab a bunch of stuff...:0)
    In the past I have inadvertently selected multiple objects in the layers palette, by somehow alt?-dragging over the layers...or something...I can't re-create it.

  • I cannot select multiple objects.

    I cannot select multiple objects within the file I'm currently working on.  This has worked in the past.  Have I inadvertently changed a setting?

    Are you trying to select via Shift+click? If yes, try selecting items in Layers Panel and from the fly-out menu, choose Select items and see if it works.
    Regards,
    Pooja

  • CS6: Select multiple objects - Hide border?

    Hi!
    Lots of our layouters are bothered because of the same thing: If you select multiple objects in CS6, you'll get a border which surrounds all of the selected objects. That way it's quite difficult to see, which items are already selected and which aren't, especially if they are all aligned.
    I hope, you understand what I'm talking about. I displayed it in the following screenshot.
    The text frame and the yellow frame are selected. The red one isn't but you have to look closely to see that, because there is this thin border spanning over all of the objects, covering the red object, too.
    Is it somehow possible to hide / disable this "extra" border? If you have a lot of objects on the page (with backgrounds and everything), the layouters have some problems with seeing what they already selected and what they didn't select yet.
    Best,
    Anke

    @Bob: quite hard, if you have about 50 elements on one layer (the layouts are done with only two major layers .... don't ask me -.-)
    @pixxel schubser: nope, I mean the overall border, that covers all of them in one big frame...
    @Sandee: I know. But tell that to 20+ layouters, who want their program to work the same way as it did before (CS3...)... They are really confused by this extra border.
    @Ellis: Wow, I didn't try that! Great, no border!!! Only that seems to be a bit buggy. If you have a lot of objects, after time it seems to "lose" some of them you selected at the beginning. Still, I'll tell the layouters, maybe this will make them a little happier Thanks a lot!
    For all, who didn't quite know what I was talking about... this is Ellis' solution without the extra border:

  • How do you copy a selected area of multiple layers?

    I'm trying to create an animated gif using PS and I can't find out how to copy multiple layers. Right now I have 110 different layers and I want to select the same portion of every layer and copy it into a new file without flattening the image. So I want to be able to start, and end with, 110 layers. The 110 different layers are all separate pictures of my desktop and I want to crop out most of the desktop to focus on one area in particular. Is there anyway to do this?

    One could delete, select next layer, delete, select next layer … which should be Action-able.
    Or duplicate the image and crop it to the intended size.
    Or why not simply put the Layers into a Group and add a Layer Mask to that?

  • How do you select multiple songs in itunes to delete

    how do you select multiple songs to delete at once in itunes?

    Try highlighting the first one yhen command click on the others you wish to delete, when you have the ones selected hit delete.

  • How do I select multiple messages from one sender in mobile email to delete them all at once?

    I know how to select all of the new messages and mark as read. Now how would I do that if I wished to delete all from one sender or have the same subject, after I search the sender or subject?

    Hey Koyster,
    Great question. Utilizing iCloud.com, we may be able to purge these emails in a much faster way:
    iCloud: Delete email
    http://support.apple.com/kb/PH2651
    Delete messages
    - On your Mac, Shift-click to select multiple adjacent messages or Command-click to select multiple nonadjacent messages.
    - On your Windows computer, Shift-click to select multiple adjacent messages or Control-click to select multiple nonadjacent messages.
    Thanks,
    Matt M.

  • Why does it let me erase only one cookie at a time, or all cookies at once, and not let me select multiple cookies that I want to delete?

    Do you not realize that there are HUNDREDS of cookies in the Cookie Jar? I want to save SOME of them (banks, stores, Facebook, etc.) but get rid of the rest. Why have you made it so that I can't click & drag (or otherwise select) multiple cookies for deletion? You're going to make me delete them one at a time? What could possibly be the reasoning for such a decision? Or is it an oversight?

    The last Firefox version that runs on Mac OS X 10.4 is Firefox 3.6.28.
    Current Firefox versions require a Mac with an Intel processor and OS X 10.6 (Firefox 16 runs on Intel Mac OS X 10.5).
    *http://www.mozilla.org/firefox/22.0/system-requirements/
    For an unofficial Firefox 17.0.7 ESR compatible version (TenFourFox) that runs on a PowerPC Mac with OS X 10.4.11 or OS X 10.5.8 you can look at:
    *http://www.floodgap.com/software/tenfourfox/
    *http://www.macupdate.com/app/mac/37761/tenfourfox
    *http://code.google.com/p/tenfourfox/wiki/ReleaseNotes1707
    See also:
    *http://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    *http://code.google.com/p/tenfourfox/wiki/QuickTimeEnabler
    *http://code.google.com/p/tenfourfox/wiki/AAATheFAQ

  • Downloaded Mountain Lion and now not able to select multiple email messages at a time for deletion what gives?

    Downloaded ML last night now one little glitch seems to be that I cannot select multiple messages at a time to delete. With the massive amount of email I receive, this is a problem. Cannot seem to find any simple fixes in preferences. Any ideas?

    you could use one hand to do this, before ML. select one email and drag up/down with the cursor to select more. selecting/shift key is the normal multiple selection operation. that's two handed.
    if there is empty space at the bottom, it works.
    i did submit this through the feedback process. i hope the functionality returns.

  • Selecting Multiple objects in Pages for ipad

    On regular pages, I can select multiple objects (text boxes, etc) by holding shift then clicking on it. Is there a way to do that in Pages for IPAD?

    With one finger select an object and hold with another finger select the other objects one by one.
    Message was edited by: David M Brewer

Maybe you are looking for

  • How do I get multiple reports in one window (using windows app)?

    Our users want to be able to launch a "package" of reports.  Meaning, that you can select more than one report to print/preview at once (using .Net 2.0 WinForms).  We are having a tough time getting more than one report to display in one window (or a

  • Burned CDs won't play in CD player

    Since updating to Leopard, the CDs I burn will only play in the computer. My car player doesn't recognize the disk. I'm burning as an Audio CD. What else could I do? Thanks.

  • Web service Test

    Hi I am testing the web service which I have developed from the Sender agreement in PI 7.1 version by using the xml SPY I received the error  as  HTTP error Could not POST file Here is the parameters, please give an idea if i need to change any param

  • Required SQL Query

    Hi All, I have data like select 'king' name,100 id ,'A:B:C' mail from dual; i need above query mail column need to Split and required out put like name id mail king 100 A king 100 B king 100 C -------------------------

  • No authorization for printer

    Hi, I have give authorization to user at Default menu in SU01, but when that user is trying to take print out. error shows that: No Authorization for Printer. How can i resolve it. Mukul Moderator message: not directly related to ABAP development, pl