Use layers to organize related shapes on a drawing page. A layer is a named category of shapes. By assigning shapes to different layers, you can selectively view, print, color, and lock different categories of shapes, as well as control whether you can snap to or glue to shapes on a layer.
For example, when you're drawing an office layout, the walls, doors, and windows might be assigned to one layer, electrical outlets to another layer, and furniture to a third layer. That way, when you work with shapes in the electrical system, you can lock the other layers so that you don't have to worry about accidentally rearranging the walls or furniture.
Each page in a drawing can have its own set of layers.
What do you want to do?
Add a layer
You can add new layers to organize custom categories of shapes, and then assign shapes to those layers.
-
On the Home tab, in the Editing group, click Layers, and select Layer Properties.
-
In the Layer Properties dialog box, click New.
-
Type a name for the layer, and then click OK.
-
In the row that corresponds to your new layer, select the check boxes in each column for properties that you want the layer to have, if they are not already checked.
Notes:
-
When you create a new layer, it is added only to the current page, not to all pages in the file.
-
Similarly, when you create a new page, that new page does not inherit layers from the previous page. You must define any layers that you want the new page to have.
-
When you copy a shape with a layer assignment from one page to another, either within the same drawing or from one drawing to another, the layer is added to the new page. If the page already has a layer with the same name, the shape is added to the existing layer.
-
Assign a shape to a layer
A shape can be assigned to multiple layers or to no layers. Many shapes are already assigned to layers, so when you drop them on a page, the corresponding layer is automatically added to the page.
-
Select a shape.
-
On the Home tab, in the Editing group, click Layers, and select Assign to Layer.
-
In the Layer dialog box, click the layer to which you want to assign the shape.
Note: To assign a shape to more than one layer, press Ctrl and click each layer.
Activate one or more layers
Making a layer active is a fast way to assign shapes to the layer as you add them to the page. If a shape is not already assigned to a layer, the shape is automatically assigned to the active layer when you add it.
For example, if you are ready to add electrical wiring shapes to a drawing of an office layout, you can make the electrical layer active. All the shapes you add from then on are assigned to the electrical layer. When you are ready to add windows, you can designate the wall layer as the active layer.
You can designate more than one active layer. Shapes you add to the page are automatically assigned to all of the active layers.
-
On the Home tab, in the Editing group, click Layers, and select Layer Properties.
-
In the Layer Properties dialog box, select the check box in the Active column for each layer you want to make active.
The layer or layers are active for the current page.
Note: You cannot activate a layer that is locked against editing.
Rename a layer
-
On the Home tab, in the Editing group, click Layers, and select Layer Properties.
-
In the Layer Properties dialog box, select the layer you want to rename, and then click Rename.
-
Type a new name, and then click OK twice.
Note: The layer is renamed on the current page. The shapes on the layer are not removed or changed.
Delete a layer
-
On the Home tab, in the Editing group, click Layers, and select Layer Properties.
-
In the Layer Properties dialog box, check to see if any shapes are assigned to the layer.
-
If a layer has shapes on it, do the following to assign the shapes to a different layer:
-
To close the Layer Properties dialog box, click OK.
-
Select the shapes you want to reassign.
-
On the Home tab, in the Editing group, click Layers, and select Assign to Layer.
-
In the Layer dialog box, click the layer you want to assign the shapes to.
-
Click OK.
-
-
In the Editing group, click Layers, and then select Layer Properties again.
-
In the Layer Properties dialog box, select the layer you want to delete, and then click Remove.
Tip: To delete all unused layers, in the Layer Properties dialog box, check Remove unreferenced layers, and then click OK.
Show or hide a layer
-
On the Home tab, in the Editing group, click Layers, and select Layer Properties.
-
In the Layer Properties dialog box, clear or select the check box in the Visible column for each layer you want to hide or show.
See Also
If you have a Visio Plan 1 or Visio Plan 2 license, you can use layers to group a related set of shapes in a drawing and change properties of all the layer members at once.
You can show or hide a layer, lock or prevent changes to all the shapes included in the layer, and apply the same color to all the shapes in the layer. Additionally, you can quickly see the number of shapes included in each layer.
Note: The "layer" feature isn't available in Visio in Microsoft 365.
Add a layer
-
On the Home tab, at the right end, select Layers.
-
In the Layers pane, select Add New Layer.
-
Type a name for the layer, then press Enter.
-
In the row that corresponds to your new layer, select the check boxes in each column for properties that you want the layer to have, if they are not already checked.
Notes:
-
A shape can be assigned to only one layer.
-
When you create a new layer, it is added only to the current page, not to all pages in the file.
-
Similarly, when you create a new page, that new page does not inherit layers from the previous page. You must define any layers that you want the new page to have.
-
When you copy a shape with a layer assignment from one page to another, either within the same drawing or from one drawing to another, the layer is added to the new page. If the page already has a layer with the same name, the shape is added to the existing layer.
Assign a shape to a layer
A shape can be assigned to multiple layers or to no layers. Many shapes are already assigned to layers, so when you drop them on a page, the corresponding layer is automatically added to the page.
-
Select a shape or shapes.
-
Right-click the selection, then select Assign to Layer.
-
Select the name of the layer you want to assign the shape to.
Show or hide a layer
-
On the Home tab, select Layers.
-
In the Layers pane, point at the layer you want to show or hide, then select the symbol in the Toggle Visibility column to change that setting between Show and Hide.
Rename a layer
-
On the Home tab, select Layers.
-
In the Layers pane, point at the layer you want to change, then select More Options > Rename.
-
Double-click the current name to select it, then type the new name you want. Press Enter to save the name.
Note: The layer is renamed on the current page. The shapes on the layer are not removed or changed.
Delete a layer
-
On the Home tab, select Layers.
-
In the Layers pane, point at the layer you want to remove, then select More Options > Delete.
-
In the Delete Layer dialog box, select whether you want to delete or preserve the shapes assigned to this layer, then select Delete.
Lock or unlock a layer
Shapes on a locked layer cannot be selected, moved, or edited. Also, shapes cannot be added to a locked layer.
-
On the Home tab, select Layers.
-
In the Layers pane, point at the layer you want to lock or unlock, then select or to toggle the Lock setting.
Select all the shapes on a layer
You can select all the shapes on a layer so that you can apply formatting or properties to them at once.
-
On the Home tab, select Layers.
-
In the Layers pane, point at the name of the layer whose shapes you want to select.
-
Choose More Options, then choose Select Shapes.