I'm writing an addon to parse a directory (and its sub-dirs) to write an XML file which describe the tree-structure of the assets contained in that directory.
At the moment, my standalone script works pretty well.
The fact is, I need to add some info to the XML, like the dependencies (linked libraries) of each .blend file the script found.
I found a way to do this (outside blender), with the module "pyblenderfile" : http://code.google.com/p/pyblenderfile/
The principle of this module is to open a .blend and get all its data. But it's pretty long and often buggy on large .blend files. Especially since it's included in a for ... loop!
So I wonder if there is a utility function or method into Blender API, to access other .blend files data (without having to wm.open() them) ?
blendfile.pyfor use in BlenderAssetManager, https://developer.blender.org/diffusion/BAM/browse/master/bam/blend/blendfile.py – ideasman42 Aug 05 '15 at 23:28