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

Ungrouping an imported pdf into Illustrator

New Here ,
May 05, 2013 May 05, 2013

Is there a way to ungroup the elements of an imported pdf in Illustrator 6? Do you have to change the settings in Adobe Acrobat first to allow the elements to import individually rather than a group? Thank you.

40.9K
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

correct answers 1 Correct answer

New Here , Jun 10, 2025 Jun 10, 2025

Use this script:

function releaseAllClippingMasks(doc) {
    var items = doc.pageItems;
    for (var i = items.length - 1; i >= 0; i--) {
        var item = items[i];
        if (item.typename === "GroupItem" && item.clipped) {
            try {
                item.clipped = false;
                for (var j = item.pageItems.length - 1; j >= 0; j--) {
                    item.pageItems[j].move(item, ElementPlacement.PLACEATEND);
                }
            } catch (e) {
                $.write
...
Translate
Adobe
Community Expert ,
May 05, 2013 May 05, 2013

Angie,

You should be able to Ctrl/Cmd+Shift+G to Ungroup once it is in Illy. If there is a Clipping Mask or something blocking the way, you may release that. You can see it in the Layers palette.

Illustrator 6

The one from 1996 or the slightly newer one called CS6/16?

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 ,
May 05, 2013 May 05, 2013

Hello
Many thanks for that its CS6/16 but it did not work.

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
LEGEND ,
May 05, 2013 May 05, 2013

If the PDF opens as one big image and can not be ungrouped, then it does not contain vector objects. It's just a big raster image. If you use the Direct Selection Tool (the white arrow) you should be able to select individual objects. If you can't, then it's just a raster image.

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
Guest
Sep 08, 2017 Sep 08, 2017

Okay found a solution! (3 years later, lol)

Steps

#1. Import PDF

#2. Click on object (PDF)

#3. Once selected click embed (Located under File, Edit, Object, Type... Window and help)

#4. Once embedded, right click object (PDF) and select ungroup.

Done!

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 ,
Mar 25, 2023 Mar 25, 2023

Stupid answer!!

 

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 ,
Sep 19, 2023 Sep 19, 2023

This is not a stupid answer, the solution actually works. Thanks to Romello for posting it.

I have attached a screenshot with the designation of the required button!

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
Guest
Mar 22, 2024 Mar 22, 2024

not even close to stupid.

I am brand new to illustrator and this worked PERFECTLY for me. Thanks OP!!!

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
Guest
Mar 22, 2024 Mar 22, 2024

TYSM it worked perfectly!

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 10, 2025 Jun 10, 2025

Use this script:

function releaseAllClippingMasks(doc) {
    var items = doc.pageItems;
    for (var i = items.length - 1; i >= 0; i--) {
        var item = items[i];
        if (item.typename === "GroupItem" && item.clipped) {
            try {
                item.clipped = false;
                for (var j = item.pageItems.length - 1; j >= 0; j--) {
                    item.pageItems[j].move(item, ElementPlacement.PLACEATEND);
                }
            } catch (e) {
                $.writeln("Error releasing clipping mask: " + e);
            }
        }
    }
}

function ungroupAll(doc) {
    var changed = true;
    while (changed) {
        changed = false;
        var items = doc.pageItems;
        for (var i = items.length - 1; i >= 0; i--) {
            var item = items[i];
            if (item.typename === "GroupItem") {
                try {
                    for (var j = item.pageItems.length - 1; j >= 0; j--) {
                        item.pageItems[j].move(item.parent, ElementPlacement.PLACEATEND);
                    }
                    item.remove();
                    changed = true;
                } catch (e) {
                    $.writeln("Error ungrouping: " + e);
                }
            }
        }
    }
}

if (app.documents.length > 0) {
    var doc = app.activeDocument;
    app.executeMenuCommand('unlockAll');
    app.executeMenuCommand('selectall');
    releaseAllClippingMasks(doc);
    ungroupAll(doc);
    alert("All clipping masks released and all groups ungrouped.");
} else {
    alert("No document open.");
}
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 ,
Jul 30, 2025 Jul 30, 2025
LATEST

you're a lifesaver, tysm.

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