[Bf-python] Object.DupObjects error

jmsoler at free.fr jmsoler at free.fr
Sat Apr 15 14:14:27 CEST 2006


Ok, i did a test with the script of the
API doc found on your site :
http://cobalt3d.free.fr/didacticiel/blender/tutor/images/python/dupliobjectonmesh/dupliobjectonmesh.blend

Regards .

Selon Campbell Barton <cbarton at metavr.com>:

> 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
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
>





More information about the Bf-python mailing list