Render Operators

bpy.ops.render.opengl(animation=False, sequencer=False, write_still=False, view_context=True)

OpenGL render active viewport

Parameters:
  • animation (boolean, (optional)) – Animation, Render files from the animation range of this scene
  • sequencer (boolean, (optional)) – Sequencer, Render using the sequencer’s OpenGL display
  • write_still (boolean, (optional)) – Write Image, Save rendered the image to the output path (used only when animation is disabled)
  • view_context (boolean, (optional)) – View Context, Use the current 3D view for rendering, else use scene settings
bpy.ops.render.play_rendered_anim()

Play back rendered frames/movies using an external player

File:startup/bl_operators/screen_play_rendered_anim.py:76
bpy.ops.render.preset_add(name="", remove_active=False)

Add or remove a Render Preset

Parameters:
  • name (string, (optional, never None)) – Name, Name of the preset, used to make the path name
  • remove_active (boolean, (optional)) – remove_active
File:

startup/bl_operators/presets.py:73

bpy.ops.render.render(animation=False, write_still=False, use_viewport=False, layer="", scene="")

Render active scene

Parameters:
  • animation (boolean, (optional)) – Animation, Render files from the animation range of this scene
  • write_still (boolean, (optional)) – Write Image, Save rendered the image to the output path (used only when animation is disabled)
  • use_viewport (boolean, (optional)) – Use 3D Viewport, When inside a 3D viewport, use layers and camera of the viewport
  • layer (string, (optional, never None)) – Render Layer, Single render layer to re-render (used only when animation is disabled)
  • scene (string, (optional, never None)) – Scene, Scene to render, current scene if not specified
bpy.ops.render.shutter_curve_preset(shape='SMOOTH')

Set shutter curve

Parameters:shape (enum in ['SHARP', 'SMOOTH', 'MAX', 'LINE', 'ROUND', 'ROOT'], (optional)) – Mode
bpy.ops.render.view_cancel()

Cancel show render view

bpy.ops.render.view_show()

Toggle show render view