Sub topic 8
Editing Several Objects at Once
Prerequisites
This chapter assumes that you can select objects, use the Tab key, and navigate the 3D Viewport. You should also know that a mesh contains vertices, edges, and faces. The examples use several mesh objects in the same scene.
What Multi-Object Edit Mode Does
Blender can edit several mesh objects without joining them into one object. This is called multi-object Edit Mode. Each object keeps its own object identity and mesh data, but one editing operation can affect geometry in all participating objects.
For example, you might select five bolts and move a vertex on each bolt at the same time. The bolts remain five separate objects.
The basic workflow is:
- Switch to Object Mode.
- Select the mesh objects you want to edit.
- Make sure the object you want to use as the active object is also selected.
- Press Tab to enter Edit Mode.
- Edit the selected geometry.
- Press Tab again to return to Object Mode.
The active object is usually the last object you select. Blender uses it for some context-sensitive settings, such as the displayed object name and certain tool options.
Selecting Geometry Across Objects
Once you enter Edit Mode, the selected objects become editable. The selection mode controls which parts of the meshes you can select:
- Vertex Select selects individual points.
- Edge Select selects lines between vertices.
- Face Select selects surface polygons.
Use the buttons at the top of the 3D Viewport or the number keys 1, 2, and 3 while the pointer is over the viewport. These shortcuts select vertex, edge, and face modes.
Press A to select all editable geometry in all participating objects. A transform then affects the selected components across the objects. For example, selecting all faces and moving them along the Z axis raises every selected mesh component together.
You can also select only some components in each object. Blender remembers the component selection separately for each mesh while you work.
A Worked Example
Create two cubes and move their top faces together:
- In Object Mode, add or duplicate a cube.
- Select both cubes with Shift-click.
- Press Tab.
- Choose Face Select.
- Select the top face of each cube. You may need to use front or side views to select them accurately.
- Press
G, thenZ, and move the faces upward. - Press Tab to leave Edit Mode.
The two cubes remain separate objects. Their corresponding top faces moved during the same editing session.
If you need to add another object, leave Edit Mode first. Select the additional mesh in Object Mode, then press Tab again. Blender does not provide the normal Object Mode selection workflow while you are editing several objects.
Python Control
Python can select all mesh objects and enter multi-object Edit Mode. Run this script in Blender's Scripting workspace:
import bpy
if bpy.context.object is not None and bpy.context.object.mode != "OBJECT":
bpy.ops.object.mode_set(mode="OBJECT")
mesh_objects = [
obj for obj in bpy.context.scene.objects
if obj.type == "MESH"
]
bpy.ops.object.select_all(action="DESELECT")
for obj in mesh_objects:
obj.select_set(True)
if mesh_objects:
bpy.context.view_layer.objects.active = mesh_objects[0]
bpy.ops.object.mode_set(mode="EDIT")
print(f"Editing {len(mesh_objects)} mesh objects")
else:
print("No mesh objects found")The script filters out cameras, lights, and other non-mesh objects because multi-object mesh editing requires compatible object types.
Exercise
You select three cubes and one camera, then press Tab. Why should the camera be excluded before entering multi-object Edit Mode?
Show answer
The camera is not a mesh object. Excluding it ensures that the selected objects are compatible for multi-object mesh editing.