[Bf-python] Blender.Group
Martin Poirier
theeth at yahoo.com
Tue Mar 14 15:03:19 CET 2006
--- Toni Alatalo <antont at kyperjokki.fi> wrote:
> On Tuesday 14 March 2006 03:29,
> cpbarton at iinet.net.au wrote:
> > If so then its less efficient then getting the
> object with Get().
>
> aha
>
> > So can we make a custom PyObject that supports set
> like operation?
>
> yes - Python uses Duck Typing, so any object that
> behaves like a set and looks
> like a set, is a set, and i hope that instances of
> BlenderGroup will be so.
That is only valid for the Python side of things. In
Python/C, there's probably a Set Protocol that you
need to implement (to make BlenderGroup behave as a
set in Python/C that is).
Martin
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Bf-python
mailing list