Explore the fundamental concepts of compound paths and group selection tools in Illustrator with our step-by-step tutorial, as we transform an illustration of doors by adding circular windows.
This exercise is excerpted from Noble Desktop’s past Adobe Illustrator training materials and is compatible with Illustrator updates through 2020. To learn current skills in Illustrator, check out our Illustrator Bootcamp and graphic design classes in NYC and live online.
Topics covered in this Illustrator tutorial:
Compound Paths, The Group Selection tool
Exercise Preview
Exercise Overview
In this exercise, we are going to start with an illustration of three doors and add circular windows that reveal an image layer beneath each door. Compound Paths in Illustrator make this a snap.
In the Illustrator Class folder, open the file open-doors.ai.
Save as yourname-open-doors.ai.
In the dialog that appears, leave the default options checked and click OK.
Paths Within Paths
Select the Ellipse tool
.
Option–click (Mac) or Alt–click (Windows) in the center of the dark green rectangle in Door 1. Make sure to only click once (don’t click and drag).
In the Ellipse options, change the Width and Height to 2 in and click OK.
With the Selection tool
, select the circle you just made and Shift–click on the dark green rectangle behind it.
Go to Object > Compound Path > Make to reveal an image that was hidden on a layer beneath the doors. A Compound Path works sort of like a cookie cutter, removing a shape from another object. Let’s do that again!
Creating a Second Compound Path
Select the Ellipse tool
.
Option–click (Mac) or Alt–click (Windows) in the center of Door 2’s dark panel. Make sure to only click once (don’t click and drag).
In the Ellipse options, change the Width and Height to 1.75 in. Click OK.
Select the circle and Shift–click the rectangle, and then go to Object > Compound Path > Make. Nifty!
Editing Compound Paths
A great thing about compound paths is that they’re still editable after you create them. If you make one in the wrong place or the wrong size, there’s no need to start over from the beginning.
Once more with the Ellipse tool
, Option–click (Mac) or Alt–click (Windows) in the center of the dark panel on Door 3.
Change the Width and Height to 1.5 in and click OK.
Select the circle/rectangle in Door 3 and go to Object > Compound Path > Make.
There’s probably more of that elephant behind the door that we can’t see. Deselect by clicking off the artwork, then use the Group Selection tool
to select the circle. (You may have to click directly on the path to select it.)
With the circle selected, switch to the Selection tool
. A bounding box appears.
-
Mouse over a corner of the bounding box and then to resize it, Shift–click and drag as shown below (holding down Shift keeps the circle from becoming distorted).
After resizing the circle, use the Group Selection tool
to position the circle so that you can see more of the elephant.
Save the file.