Screen OperatorsΒΆ
- bpy.ops.screen.actionzone(*, modifier=0)ΒΆ
Handle area action zones for mouse actions/gestures
- Parameters:
modifier (int) β Modifier, Modifier state (in [0, 2], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.animation_cancel(*, restore_frame=True)ΒΆ
Cancel animation, returning to the original frame
- Parameters:
restore_frame (bool) β Restore Frame, Restore the frame when animation was initialized (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.animation_pause()ΒΆ
Pause animation, stopping at the current frame
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.animation_play(*, reverse=False, sync=False)ΒΆ
Play animation
- Parameters:
reverse (bool) β Play in Reverse, Animation is played backwards (optional)
sync (bool) β Sync, Drop frames to maintain framerate (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.animation_step()ΒΆ
Step through animation by position
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.area_close()ΒΆ
Close selected area
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.area_dupli()ΒΆ
Duplicate selected area into new window
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.area_join(*, source_xy=(0, 0), target_xy=(0, 0))ΒΆ
Join selected areas into new window
- Parameters:
source_xy (Sequence[int]) β Source location, (array of 2 items, in [-inf, inf], optional)
target_xy (Sequence[int]) β Target location, (array of 2 items, in [-inf, inf], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.area_move(*, x=0, y=0, delta=0, snap=False)ΒΆ
Move selected area edges
- Parameters:
x (int) β X, (in [-inf, inf], optional)
y (int) β Y, (in [-inf, inf], optional)
delta (int) β Delta, (in [-inf, inf], optional)
snap (bool) β Snapping, Enable snapping (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.area_options()ΒΆ
Operations for splitting and merging
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.area_split(*, direction='HORIZONTAL', factor=0.5, cursor=(0, 0))ΒΆ
Split selected area into new windows
- Parameters:
direction (Literal['HORIZONTAL', 'VERTICAL']) β Direction, (optional)
factor (float) β Factor, (in [0, 1], optional)
cursor (Sequence[int]) β Cursor, (array of 2 items, in [-inf, inf], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.area_swap(*, cursor=(0, 0))ΒΆ
Swap selected areas screen positions
- Parameters:
cursor (Sequence[int]) β Cursor, (array of 2 items, in [-inf, inf], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.back_to_previous()ΒΆ
Revert back to the original screen layout, before fullscreen area overlay
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.delete()ΒΆ
Delete active screen
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.drivers_editor_show()ΒΆ
Show drivers editor in a separate window
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.edge_merge(*, cursor=(0, 0))ΒΆ
Merge aligned area edges
- Parameters:
cursor (Sequence[int]) β Cursor, (array of 2 items, in [-inf, inf], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.frame_jump(*, end=False)ΒΆ
Jump to first/last frame in frame range
- Parameters:
end (bool) β Last Frame, Jump to the last frame of the frame range (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.frame_offset(*, delta=0)ΒΆ
Move current frame forward/backward by a given number
- Parameters:
delta (int) β Delta, (in [-inf, inf], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
Expand or collapse the header pull-down menus
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.info_log_show()ΒΆ
Show info log in a separate window
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.keyframe_jump(*, next=True)ΒΆ
Jump to previous/next keyframe
- Parameters:
next (bool) β Next Keyframe, (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.marker_jump(*, next=True)ΒΆ
Jump to previous/next marker
- Parameters:
next (bool) β Next Marker, (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.new()ΒΆ
Add a new screen
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.quadview_size()ΒΆ
Resize Quad View areas
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.redo_last()ΒΆ
Display parameters for last action performed
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.region_blend()ΒΆ
Blend in and out overlapping region
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
Display region context menu
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.region_flip()ΒΆ
Toggle the regionβs alignment (left/right or top/bottom)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.region_quadview()ΒΆ
Split selected area into camera, front, right, and top views
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.region_scale()ΒΆ
Scale selected area
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.region_toggle(*, region_type='WINDOW')ΒΆ
Hide or unhide the region
- Parameters:
region_type (Literal[Region Type Items]) β Region Type, Type of the region to toggle (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.repeat_history(*, index=0)ΒΆ
Display menu for previous actions performed
- Parameters:
index (int) β Index, (in [0, inf], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.repeat_last()ΒΆ
Repeat last action
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.screen_full_area(*, use_hide_panels=False)ΒΆ
Toggle display selected area as fullscreen/maximized
- Parameters:
use_hide_panels (bool) β Hide Panels, Hide all the panels (Focus Mode) (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.screen_set(*, delta=1)ΒΆ
Cycle through available screens
- Parameters:
delta (int) β Delta, (in [-1, 1], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.screenshot(*, filepath='', hide_props_region=True, check_existing=True, filter_blender=False, filter_backup=False, filter_image=True, filter_movie=False, filter_python=False, filter_font=False, filter_sound=False, filter_text=False, filter_archive=False, filter_btx=False, filter_alembic=False, filter_usd=False, filter_obj=False, filter_volume=False, filter_folder=True, filter_blenlib=False, filemode=9, show_multiview=False, use_multiview=False, display_type='DEFAULT', sort_method='')ΒΆ
Capture a picture of the whole Blender window
- Parameters:
filepath (str) β File Path, Path to file (optional, never None)
hide_props_region (bool) β Hide Operator Properties, Collapse the region displaying the operator settings (optional)
check_existing (bool) β Check Existing, Check and warn on overwriting existing files (optional)
filter_blender (bool) β Filter .blend files, (optional)
filter_backup (bool) β Filter backup .blend files, (optional)
filter_image (bool) β Filter image files, (optional)
filter_movie (bool) β Filter movie files, (optional)
filter_python (bool) β Filter Python files, (optional)
filter_font (bool) β Filter font files, (optional)
filter_sound (bool) β Filter sound files, (optional)
filter_text (bool) β Filter text files, (optional)
filter_archive (bool) β Filter archive files, (optional)
filter_btx (bool) β Filter btx files, (optional)
filter_alembic (bool) β Filter Alembic files, (optional)
filter_usd (bool) β Filter USD files, (optional)
filter_obj (bool) β Filter OBJ files, (optional)
filter_volume (bool) β Filter OpenVDB volume files, (optional)
filter_folder (bool) β Filter folders, (optional)
filter_blenlib (bool) β Filter Blender IDs, (optional)
filemode (int) β File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file (in [1, 9], optional)
show_multiview (bool) β Enable Multi-View, (optional)
use_multiview (bool) β Use Multi-View, (optional)
display_type (Literal['DEFAULT', 'LIST_VERTICAL', 'LIST_HORIZONTAL', 'THUMBNAIL']) β
Display Type, (optional)
DEFAULTDefault β Automatically determine display type for files.LIST_VERTICALShort List β Display files as short list.LIST_HORIZONTALLong List β Display files as a detailed list.THUMBNAILThumbnails β Display files as thumbnails.
sort_method (str) β File sorting mode, (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.screenshot_area(*, filepath='', hide_props_region=True, check_existing=True, filter_blender=False, filter_backup=False, filter_image=True, filter_movie=False, filter_python=False, filter_font=False, filter_sound=False, filter_text=False, filter_archive=False, filter_btx=False, filter_alembic=False, filter_usd=False, filter_obj=False, filter_volume=False, filter_folder=True, filter_blenlib=False, filemode=9, show_multiview=False, use_multiview=False, display_type='DEFAULT', sort_method='')ΒΆ
Capture a picture of an editor
- Parameters:
filepath (str) β File Path, Path to file (optional, never None)
hide_props_region (bool) β Hide Operator Properties, Collapse the region displaying the operator settings (optional)
check_existing (bool) β Check Existing, Check and warn on overwriting existing files (optional)
filter_blender (bool) β Filter .blend files, (optional)
filter_backup (bool) β Filter backup .blend files, (optional)
filter_image (bool) β Filter image files, (optional)
filter_movie (bool) β Filter movie files, (optional)
filter_python (bool) β Filter Python files, (optional)
filter_font (bool) β Filter font files, (optional)
filter_sound (bool) β Filter sound files, (optional)
filter_text (bool) β Filter text files, (optional)
filter_archive (bool) β Filter archive files, (optional)
filter_btx (bool) β Filter btx files, (optional)
filter_alembic (bool) β Filter Alembic files, (optional)
filter_usd (bool) β Filter USD files, (optional)
filter_obj (bool) β Filter OBJ files, (optional)
filter_volume (bool) β Filter OpenVDB volume files, (optional)
filter_folder (bool) β Filter folders, (optional)
filter_blenlib (bool) β Filter Blender IDs, (optional)
filemode (int) β File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file (in [1, 9], optional)
show_multiview (bool) β Enable Multi-View, (optional)
use_multiview (bool) β Use Multi-View, (optional)
display_type (Literal['DEFAULT', 'LIST_VERTICAL', 'LIST_HORIZONTAL', 'THUMBNAIL']) β
Display Type, (optional)
DEFAULTDefault β Automatically determine display type for files.LIST_VERTICALShort List β Display files as short list.LIST_HORIZONTALLong List β Display files as a detailed list.THUMBNAILThumbnails β Display files as thumbnails.
sort_method (str) β File sorting mode, (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.space_context_cycle(*, direction='NEXT')ΒΆ
Cycle through the editor context by activating the next/previous one
- Parameters:
direction (Literal['PREV', 'NEXT']) β Direction, Direction to cycle through (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.space_type_set_or_cycle(*, space_type='EMPTY')ΒΆ
Set the space type or cycle subtype
- Parameters:
space_type (Literal[Space Type Items]) β Type, (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.spacedata_cleanup()ΒΆ
Remove unused settings for invisible editors
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.time_jump(*, backward=False)ΒΆ
Jump forward/backward by a given number of frames or seconds
- Parameters:
backward (bool) β Backwards, Jump backwards in time (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.userpref_show(*, section='INTERFACE')ΒΆ
Edit user preferences and system settings
- Parameters:
section (Literal[Preference Section Items]) β Section to activate in the Preferences (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.screen.workspace_cycle(*, direction='NEXT')ΒΆ
Cycle through workspaces
- Parameters:
direction (Literal['PREV', 'NEXT']) β Direction, Direction to cycle through (optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]