On Fri, May 10, 2013 at 6:41 PM, Peter D. Cassetta
<[email protected]>wrote:

> If it is not workable, or just too difficult, an alternative might be
> using a library.blend which stores all the materials. The only difficult
> part would be adding new materials to the library from time to time.
> Currently it's as simple as editing an XML file and uploading the
> XML-based material file, but you can imagine that appending would get a
> bit tedious after a while.
>

You can script it, e.g.:
bpy.ops.wm.link_append(
   directory="/home/dmbasso/projects/lilith/template.blend/Material/",
   filepath="template.blend/Material/Hair",
   filename="Hair",
   link=False, instance_groups=False,
   relative_path=False)

Btw, keep up the good work, the concept of your addon is really useful.

Cheers,

Daniel
_______________________________________________
Bf-python mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-python

Reply via email to