[Bf-python] mesh.filename
Campbell Barton
cbarton at metavr.com
Sat Feb 12 04:34:28 CET 2005
Yeah, thats what I ment, sorry for not being Clear-
AFAIK every datatype with an ID (the id C struct) - Has a filename slot
160 chars, even if its not used by blender.
Many blender datatypes have an ID, and many are linkable so I dont see
why we shouldent accsess them from Python.
A common problem is moving a blend file from Computer to computer and
having the Paths screw up, particulaly if there not relative, but even
the slashes can stuff up Win/Unix.
For my- being able to reset the library linking would be realy usefull-
It should be the same as for images.
Non linked data can return "" or None, will look into itm probably make
it work like Packed images alredy do- Would you accept a patch that does
this? all things non buggy etc?
- Cam
Stephen Swaney wrote:
>On Fri, Feb 11, 2005 at 11:18:19PM -0800, joeedh wrote:
>
>
>
>>I think he means meshes linked in from external files, as opposed to
>>appended.
>>
>>
>
>Ahhh! So we are talking about filenames in Library datablocks.
>The part about setting the filename threw me.
>
>Thanks. Sometimes I feel handicapped by having English as
>as first language.
>
>
>
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-python
mailing list