[Bf-python] Listing all data blocks in another .blend file
Bassam Kurdali
bassam at urchn.org
Fri Sep 19 01:06:42 CEST 2014
I believe so, check out the docs:
http://www.blender.org/documentation/blender_python_api_2_71_0/bpy.types.BlendDataLibraries.html?highlight=library
specifically look at the line that starts with
# link all objects starting with 'A'
in the examples. I think that should be what you need (with your own
filtering code instead of just looking for that one letter)
On Fri, 2014-09-19 at 08:56 +1100, Arnaud Couturier wrote:
> Hello,
>
> I'm new to this list, so please forgive my mistakes if I use it
> incorrectly ^^'
>
> I need to link all the groups that follow a naming convention, from
> another blend file. And without having to know all of them in advance,
> so I can add/update/remove groups in the library blend file, without
> touching the linking code logic.
>
>
> Is it possible ?
>
> I haven't found anything about this in the Python API.
>
>
> I added a request on the wiki
> http://wiki.blender.org/index.php/Dev:Ref/Requests/Python2.6
> (bottom of the page)
>
> I'm not sure if it's the right place...
>
>
> Thank you in advance
> Arnaud
>
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://lists.blender.org/mailman/listinfo/bf-python
More information about the Bf-python
mailing list