[Bf-python] More Proposed API changes.

Campbell Barton cbarton at metavr.com
Sun Mar 11 18:11:16 CET 2007


some small updates, you reminded me that bpy.objects.new() isnt allowed. 
it raises an error and tells the user to use scn.objects.new()

Ken Hughes wrote:
> Campbell Barton wrote:
>> Heres some docs, Lots of examples, even one for Matt ;)
>> http://members.optusnet.com.au/cjbarton/BPY_API/Bpy-module.html
> 
> Now that I see it, I like it....
> 
>> Im having trouble coming up with usefull names... :/
>>
>> what is data with an ID in a linked list called even?
>>
>> libdata? datablock?
> 
> Nothing comes to mind, but then for some reason I lost an hour of sleep 
> last night.
> 
> On a related note, did we decided that scene.objects.new()  would 
> require either a data block or "Empty"?  I assume this also means 
> bpy.objects() would *not* have a .new() method?  This would enforce only 
> allowing creation of objects which are linked to a scene and data in one 
>  atomic action?
> 
> Ken
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
> 


-- 
See MetaVR Visuals Used at the Combat Studies Institute
http://www.metavr.com/casestudies/baghdadviews.html

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