| Trees | Indices | Help |
|
|---|
|
|
Warning:
This module is new and being considered as a replacement for the original Library module. Users should stay tuned to see which module is supported in the end.
Example:
import bpy
scn= bpy.data.scenes.active # get current scene
lib = bpy.libraries.load('//file.blend') # open file.blend
ob = scn.objects.link(lib.objects.append('Cube')) # append Cube object from library to current scene
mat = lib.objects.link('Material') # get a link to a material
me = ob.getData(mesh=1) # get mesh data
me.materials[0] = mat # assign linked material to mesh
|
|||
|
Libraries This class provides a unified way to access and manipulate library types in Blender. |
|||
|
LibData This class provides access to a specific type of library data. |
|||
|
|||
| Library |
|
||
| List |
|
||
|
|||
|
|||
|
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Sat Sep 19 13:57:27 2009 | http://epydoc.sourceforge.net |