> I dont realy undertand this. Can you give an example?  I feel like you 
> mean that earlier point about using a class as a namespace for your 
> functions, and having to construct an instance in order to call methods. As 
> Cesar had also pointed out, classmethods can be used as factory functions 
> or alternate constructors to return instances of the class. They can also 
> be used to perform operations that don't require an instance but may want 
> to reference class attributes.
>  
>
yes you are right, that´s like the example I meant earlier using class as 
namespace. I don´t know what factory functions are, I am going to google it 
to get some info.

So, okey. This thread was very clarifying.I wasn´t quite exploring the real 
power of oop. I wish I could see more examples in depth of oop in rigging, 
but I guess it is too hard to lustrate here. 
Thanks again to both of you

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/a89b4a19-4775-44d2-bd29-98ae329b998d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to