Sub topic 3
Workspaces: saved interface layouts
This chapter assumes Blender is open with the default startup scene, that you can orbit, pan, and zoom in the viewport, and that you know a mesh is made of vertices, edges, and faces.
A workspace is a saved arrangement of editors, such as the 3D Viewport, Outliner, and Properties editor. Workspaces appear as tabs across the top of the window. Switching tabs changes the layout and can also change the interaction mode. It does not change your scene data.
A tour of the built-in workspaces
Blender ships with several workspaces. These are the ones most relevant to modes:
| Workspace | Typical use | Mode it enters |
|---|---|---|
| Layout | Placing and arranging objects | Object Mode |
| Modeling | Building and editing mesh geometry | Edit Mode |
| Sculpting | Pushing and pulling a mesh surface | Sculpt Mode |
| Texture Paint | Painting color onto a surface | Texture Paint Mode |
How workspaces and modes work together
Each workspace can set a mode for the active object. Clicking the Modeling tab switches the active mesh into Edit Mode. Pressing Tab or using the mode menu changes the mode without changing the tab.
Beyond Edit Mode: Sculpt, Paint, and Pose modes
Sculpt Mode brushes the surface of a mesh. Texture Paint Mode paints color onto a texture. Pose Mode moves the bones of an armature. Each mode changes which tools and shortcuts apply, so read the mode shown in the 3D Viewport header before you act.
Customizing and creating your own workspace
Right-click a workspace tab and choose Duplicate to copy it. Double-click a tab to rename it. You can change any editor's type from its header menu. Workspace layouts are saved inside the .blend file, so they travel with that file.
Controlling modes and workspaces with Python
Run this in Blender's Scripting workspace. It switches to the Modeling workspace if it exists and lists all workspace names.
import bpy
workspace = bpy.data.workspaces.get("Modeling")
if workspace is not None:
bpy.context.window.workspace = workspace
print([ws.name for ws in bpy.data.workspaces])
print(bpy.context.mode)Exercise
Exercise
You want to paint color onto a surface. Which workspace should you open, and which mode does it enter?
Show answer
Open the Texture Paint workspace. It enters Texture Paint Mode.