Skip to main content
Inspiring
February 15, 2011
Answered

CS5 - how to delete artboard AND the art on it

  • February 15, 2011
  • 1 reply
  • 25282 views

Hello!

Is there a way to delete an artboard and everything on it with one command?  I always have to do <shift><o> and <delete> for the artboard, then <esc> and select the art to delete it.

    This topic has been closed for replies.
    Correct answer Monika Gause

    Artboard and art are independent from each other, so no, there's no way.

    But you could first delete the artwork and then chosse "delete empty artboards" in artboard panel. Could be useful if you want to do this to more than one artboard.

    1 reply

    Monika Gause
    Community Expert
    Monika GauseCommunity ExpertCorrect answer
    Community Expert
    February 15, 2011

    Artboard and art are independent from each other, so no, there's no way.

    But you could first delete the artwork and then chosse "delete empty artboards" in artboard panel. Could be useful if you want to do this to more than one artboard.

    CarlosCanto
    Community Expert
    Community Expert
    February 16, 2011

    it's doable with a script, but still 3 clicks away...I don't know if it is more productive for you.

    #target Illustrator

    /* CS5 Only. Deletes the active artobard
        along with the contents. Select something before running.
    */

    var idoc = app.activeDocument;
    var activeAbIndex = idoc.artboards.getActiveArtboardIndex();

    idoc.selectObjectsOnActiveArtboard();
    app.cut();

    idoc.artboards.remove (activeAbIndex);