Application Data (bpy.app)

This module contains application values that remain unchanged during runtime.

bpy.app.background

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

bpy.app.binary_path

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

bpy.app.build_date

The date this blender instance was built

bpy.app.build_platform

The platform this blender instance was built for

bpy.app.build_revision

The subversion revision this blender instance was built with

bpy.app.build_time

The time this blender instance was built

bpy.app.build_type

The type of build (Release, Debug)

bpy.app.version

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

bpy.app.version_string

The Blender version formatted as a string

bpy.app.build_cflags

constant value ‘-Wunused-value -fopenmp -msse2 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -Wall -Wno-char-subscripts -Wpointer-arith -Wcast-align -Wdeclaration-after-statement -Wno-unknown-pragmas -Wunused-parameter -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=return-type’

bpy.app.build_cxxflags

constant value ‘ -DWITH_CXX_GUARDEDALLOC -I/data/src/blender/blender/intern/guardedalloc -fopenmp -msse2 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -Wall -Wno-invalid-offsetof -Wno-sign-compare’

bpy.app.build_linkflags

constant value ‘-pthread’

bpy.app.build_system

constant value ‘CMake’

bpy.app.debug

constant value False

bpy.app.tempdir

constant value ‘/tmp/’

Previous topic

Path Utilities (bpy.path)

Next topic

Property Definitions (bpy.props)