Changing the visible layers for Illustrator documents
by: Sandee Cohen | September 17, 2013
When you place a layered Illustrator file, you have the options of showing or hiding those layers from within InDesign instead of having to go back to Illustrator to change the visible layers. This is a terrific way to show alternate versions of a file, make working with buttons or object states easier, or just use one Illustrator document for multiple instances in an InDesign document. For instance, here are a bunch of icons placed in InDesign.
However, if you look at the Illustrator file, you'll see that each icon, as well as the modifying colors, are on their own layer.
This technique also makes it easy to create multi-state objects with alternate images for each state.
Working with Illustrator Layers
So how do you display the layers of an Illustrator file? There are two places to set the layer visibility. The first is when you choose the Illustrator file to place. Click the option to Show Import Options (or hold the Shift key as you click Open) and you open the Place PDF dialog box. (Don't let the fact that InDesign thinks the Illustrator file is a PDF bother you. It only indicates that you can do the same actions with placed PDFs.)
Click the option for Layers and you'll see the names of the layers in the Illustrator document along with eyeball controls. Click each of the eyeballs to show or hide the layers.
Unfortunately, there is no way in the core program to place the file multiple times with each layer visible. I create the various options by place the file once and then duplicating it several times. Then I change the layer visibility. (See the next paragraph.)
Once you've already placed a file, you can change the layer visibility by selecting the image and choosing Object > Object Layer Options. (If you use this feature often, you'll want to apply a keyboard shortcut to the command.) This opens the same sort of dialog box where you can change the visibility eyeballs. The major difference is there is no preview field in the dialog box. You need to click the Preview checkbox to see what your actions are doing.
The Riddle of the Bounding Box
One thing that recently stumped me was when the Illustrator artwork moved to a new position when I turned off the visibility of the layers. In this case I had the image of a button with a shadow. When I turned the shadow layer on and off, the button shifted position within the frame as shown below.
The solution for this comes from the Import Options dialog box. Make sure the Crop to menu is set for Bounding Box (All Layers). This makes sure that even if a layer is hidden, its boundary is still used for the position of the art.
Unfortunately I haven't been able to find any way to change this setting once the file has been placed in the document. The only way I've been able to change the setting is to reimport the file. [There is a script that allows it, but it's not working in CC yet. We'll update this if we can get the script working.]
Keeping your Visibility Settings
One more thing you need to remember. In the Layer control, make sure your Update Link Options are set to Keep Layer Visibility Overrides. This way you can make changes to the layers in the Illustrator file without losing the visibility settings for each placed version of the file. However, this won't work if you add new layers to the Illustrator files. InDesign can't figure out which layers should or should not be visible so it reverts to the saved version of the file.
For more information:
If you want more information, Bob Levine covered this topic a while back.
Latest posts by Sandee Cohen (see all)
- Tip of the Week: Turn Off Multiple Layers Simultaneously - January 27, 2015
- Temporarily Turning Off a GREP Style - December 18, 2014
- Leading as a Character Attribute? I’m a Believer! - December 3, 2014
Sign up for the InDesign
Tip of the Week
- New features in InDesign v10.2, aka "February 2015 release of InDesign CC 2014"
- Hey there's more than a couple! Listen up
- Our opinion on why some are useful, others not so (but may become so)
- Interview with Russell Viers
- Obscure InDesign Feature of the Week: Show Processing Instructions
- Jeff said about Getting the Right Bleed in Print PDFs:Pamela, at my previous job, we were instructed…
- pilcrow said about Getting the Right Bleed in Print PDFs:Usually 2mm of bleed is enough for sizes…
- Raymon said about Finding the Best Tablet PDF Reader:Thanks for another informative blog. Where else could…
Recent Forum Posts
Book printing (BIG) problem
5 hours, 43 minutes ago
14 hours, 17 minutes ago
Use GREP to find first line indented paragraphs with a different value
16 hours, 10 minutes ago
Different Footnote Numbering Styles in One Page
17 hours, 24 minutes ago
Text Fields in interactive forms
22 hours, 21 minutes ago