Application Data (bpy.app)

This module contains application values that remain unchanged during runtime.

Submodules:

bpy.app.autoexec_fail

Undocumented

bpy.app.autoexec_fail_message

Undocumented

bpy.app.autoexec_fail_quiet

Undocumented

bpy.app.binary_path_python

String, the path to the python executable (read-only)

bpy.app.debug

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_depsgraph

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_depsgraph_build

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_depsgraph_eval

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_depsgraph_pretty

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_depsgraph_tag

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_depsgraph_time

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_events

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_ffmpeg

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_freestyle

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_gpumem

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_handlers

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_python

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_simdata

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.debug_value

Int, number which can be set to non-zero values for testing purposes

bpy.app.debug_wm

Boolean, for debug info (started with –debug / –debug_* matching this attribute name)

bpy.app.driver_namespace

Dictionary for drivers namespace, editable in-place, reset on file load (read-only)

bpy.app.render_icon_size

Reference size for icon/preview renders (read-only)

bpy.app.render_preview_size

Reference size for icon/preview renders (read-only)

bpy.app.tempdir

String, the temp directory used by blender (read-only)

bpy.app.background

Boolean, True when blender is running without a user interface (started with -b)

bpy.app.factory_startup

Boolean, True when blender is running with –factory-startup)

bpy.app.translations

Application and addons internationalization API

bpy.app.build_branch

The branch this blender instance was built from

bpy.app.build_cflags

C compiler flags

bpy.app.build_commit_date

The date of commit this blender instance was built

bpy.app.build_commit_time

The time of commit this blender instance was built

bpy.app.build_cxxflags

C++ compiler flags

bpy.app.build_date

The date this blender instance was built

bpy.app.build_hash

The commit hash this blender instance was built with

bpy.app.build_linkflags

Binary linking flags

bpy.app.build_platform

The platform this blender instance was built for

bpy.app.build_system

Build system used

bpy.app.build_time

The time this blender instance was built

bpy.app.build_type

The type of build (Release, Debug)

bpy.app.build_commit_timestamp

The unix timestamp of commit this blender instance was built

bpy.app.binary_path

The location of blenders executable, useful for utilities that spawn new instances

bpy.app.upbge_version_string

The UPBGE version formatted as a string

bpy.app.version_char

The Blender version character (for minor releases)

bpy.app.version_cycle

The release status of this build alpha/beta/rc/release

bpy.app.version_string

The Blender version formatted as a string

bpy.app.upbge_version

The UPBGE version as a tuple of 3 numbers. eg. (0, 2, 4)

bpy.app.version

The Blender version as a tuple of 3 numbers. eg. (2, 50, 11)

bpy.app.alembic

constant value bpy.app.alembic(supported=False, version=(0, 0, 0), version_string=’Unknown’)

bpy.app.build_options

constant value bpy.app.build_options(bullet=False, codec_avi=False, codec_ffmpeg=True, codec_sndfile=False, compositor=False, cycles=False, cycles_osl=False, freestyle=False, gameengine=True, image_cineon=False, image_dds=False, image_frameserver=False, image_hdr=False, image_openexr=False, image_openjpeg=False, image_tiff=False, input_ndof=False, audaspace=False, international=True, openal=False, sdl=False, sdl_dynload=False, jack=False, libmv=False, mod_fluid=False, mod_oceansim=False, mod_remesh=False, …)

bpy.app.ffmpeg

constant value bpy.app.ffmpeg(supported=True, avcodec_version=(57, 89, 100), avcodec_version_string=‘57, 89, 100’, avdevice_version=(57, 6, 100), avdevice_version_string=‘57, 6, 100’, avformat_version=(57, 71, 100), avformat_version_string=‘57, 71, 100’, avutil_version=(55, 58, 100), avutil_version_string=‘55, 58, 100’, swscale_version=(4, 6, 100), swscale_version_string=’ 4, 6, 100’)

bpy.app.handlers

constant value bpy.app.handlers(frame_change_pre=[], frame_change_post=[], render_pre=[], render_post=[], render_write=[], render_stats=[], render_init=[], render_complete=[], render_cancel=[], load_pre=[], load_post=[], save_pre=[], save_post=[], undo_pre=[], undo_post=[], redo_pre=[], redo_post=[], scene_update_pre=[], scene_update_post=[], game_pre=[], game_post=[], version_update=[], persistent=<class ‘persistent’>)

bpy.app.ocio

constant value bpy.app.ocio(supported=False, version=(0, 0, 0), version_string=’Unknown’)

bpy.app.oiio

constant value bpy.app.oiio(supported=False, version=(0, 0, 0), version_string=’Unknown’)

bpy.app.opensubdiv

constant value bpy.app.opensubdiv(supported=False, version=(0, 0, 0), version_string=’Unknown’)

bpy.app.openvdb

constant value bpy.app.openvdb(supported=False, version=(0, 0, 0), version_string=’Unknown’)

bpy.app.sdl

constant value bpy.app.sdl(supported=False, version=(0, 0, 0), version_string=’Unknown’, available=False)