BlendData(bpy_struct)

base class — bpy_struct

class bpy.types.BlendData(bpy_struct)

Main data structure representing a .blend file and all its datablocks

actions

Action datablocks

Type:BlendDataActions bpy_prop_collection of Action, (readonly)
armatures

Armature datablocks

Type:BlendDataArmatures bpy_prop_collection of Armature, (readonly)
brushes

Brush datablocks

Type:BlendDataBrushes bpy_prop_collection of Brush, (readonly)
cameras

Camera datablocks

Type:BlendDataCameras bpy_prop_collection of Camera, (readonly)
curves

Curve datablocks

Type:BlendDataCurves bpy_prop_collection of Curve, (readonly)
filepath

Path to the .blend file

Type:string, default “”, (readonly, never None)
fonts

Vector font datablocks

Type:BlendDataFonts bpy_prop_collection of VectorFont, (readonly)
grease_pencil

Grease Pencil datablocks

Type:BlendDataGreasePencils bpy_prop_collection of GreasePencil, (readonly)
groups

Group datablocks

Type:BlendDataGroups bpy_prop_collection of Group, (readonly)
images

Image datablocks

Type:BlendDataImages bpy_prop_collection of Image, (readonly)
is_dirty

Have recent edits been saved to disk

Type:boolean, default False, (readonly)
is_saved

Has the current session been saved to disk as a .blend file

Type:boolean, default False, (readonly)
lamps

Lamp datablocks

Type:BlendDataLamps bpy_prop_collection of Lamp, (readonly)
lattices

Lattice datablocks

Type:BlendDataLattices bpy_prop_collection of Lattice, (readonly)
libraries

Library datablocks

Type:BlendDataLibraries bpy_prop_collection of Library, (readonly)
linestyles

Line Style datablocks

Type:BlendDataLineStyles bpy_prop_collection of FreestyleLineStyle, (readonly)
masks

Masks datablocks

Type:BlendDataMasks bpy_prop_collection of Mask, (readonly)
materials

Material datablocks

Type:BlendDataMaterials bpy_prop_collection of Material, (readonly)
meshes

Mesh datablocks

Type:BlendDataMeshes bpy_prop_collection of Mesh, (readonly)
metaballs

Metaball datablocks

Type:BlendDataMetaBalls bpy_prop_collection of MetaBall, (readonly)
movieclips

Movie Clip datablocks

Type:BlendDataMovieClips bpy_prop_collection of MovieClip, (readonly)
node_groups

Node group datablocks

Type:BlendDataNodeTrees bpy_prop_collection of NodeTree, (readonly)
objects

Object datablocks

Type:BlendDataObjects bpy_prop_collection of Object, (readonly)
palettes

Palette datablocks

Type:BlendDataPalettes bpy_prop_collection of Palette, (readonly)
particles

Particle datablocks

Type:BlendDataParticles bpy_prop_collection of ParticleSettings, (readonly)
scenes

Scene datablocks

Type:BlendDataScenes bpy_prop_collection of Scene, (readonly)
screens

Screen datablocks

Type:BlendDataScreens bpy_prop_collection of Screen, (readonly)
scripts

Script datablocks (DEPRECATED)

Type:bpy_prop_collection of ID, (readonly)
shape_keys

Shape Key datablocks

Type:bpy_prop_collection of Key, (readonly)
sounds

Sound datablocks

Type:BlendDataSounds bpy_prop_collection of Sound, (readonly)
speakers

Speaker datablocks

Type:BlendDataSpeakers bpy_prop_collection of Speaker, (readonly)
texts

Text datablocks

Type:BlendDataTexts bpy_prop_collection of Text, (readonly)
textures

Texture datablocks

Type:BlendDataTextures bpy_prop_collection of Texture, (readonly)
use_autopack

Automatically pack all external data into .blend file

Type:boolean, default False
version

Version of the blender the .blend was saved with

Type:int array of 3 items in [0, inf], default (0, 0, 0), (readonly)
window_managers

Window manager datablocks

Type:BlendDataWindowManagers bpy_prop_collection of WindowManager, (readonly)
worlds

World datablocks

Type:BlendDataWorlds bpy_prop_collection of World, (readonly)

Inherited Properties

Inherited Functions

References