[Bf-python] bpy.libraries modules (was "Adding a new way to deal with libraries")

Ken Hughes khughes at pacific.edu
Thu Mar 15 23:18:01 CET 2007


Ok, here's a epydoc description of the proposed new module for 
bpy.libraries:

http://www1.pacific.edu/~khughes/Libseq-module.html

As Martin suggested, it is atomically load/link/close for each action. 
It also will incorporate the equivalent to Library.Update() (or 
Library.Load() with update=1).

Also, in keeping with the design goal of not allowing the creation of 
Blender objects which are not linked to scenes, the types which are 
returned by the libraries.objects.link() and .append() methods are 
"pseudo-types" which must be passed to scene.objects.new() in order to 
actually create the object.

Feedback, comments, etc., welcome.

Ken



More information about the Bf-python mailing list