Application Data (bpy.app)

This module contains application values that remain unchanged during runtime.

bpy.app.debug

Boolean, set when blender is running in debug mode (started with -d)

bpy.app.debug_value

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

bpy.app.driver_namespace

Dictionary for drivers namespace, editable in-place, reset on file load (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.binary_path

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

bpy.app.build_cflags

C compiler flags

bpy.app.build_cxxflags

C++ compiler flags

bpy.app.build_date

The date this blender instance was built

bpy.app.build_linkflags

Binary linking flags

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_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.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

T.count(value) -> integer – return number of occurrences of value

T.index(value, [start, [stop]]) -> integer – return first index of value. Raises ValueError if the value is not present.

Previous topic

Path Utilities (bpy.path)

Next topic

Property Definitions (bpy.props)