[Bf-python] Object.DupObjects error

Campbell Barton cbarton at metavr.com
Sat Apr 15 00:45:30 CEST 2006


Jms, read the updated epydocs (from my site), when adding object group 
support, the distinction between getting the group and weather the group 
was enabled became very fuzzy.

So all the settings are enableDupliVerts, enableDupliFrames, 
enableDupliGroup- which hints that there enabled but dont necessarily exist.
removed get/set.. in favor of enableFooBar class variables.
- Cam
 

jean-michel soler wrote:
> I will  post a test file on the patch tracker soon .
>
> getDupliVerts(): does not work neither .
>
> import Blender
> from Blender import Object     OBJET=Object.GetSelected()[0]
> if OBJET.getDupliVerts():
>    print "ok"
>
> Traceback (most recent call last):
>  File "Text", line 5, in ?
> AttributeError: getDupliVerts
>
>
> Campbell Barton a écrit :
>
>> Can you send me a demo file?
>>
>> jean-michel soler wrote:
>>
>>> Tested today :  the DupObjects function returns a list  with an 
>>> incorrect number of  objects and matrices .
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Bf-python mailing list
>>> Bf-python at projects.blender.org
>>> http://projects.blender.org/mailman/listinfo/bf-python
>>>
>>
>>
>
>
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
>


-- 
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