> > Why do you thing it would be returning a list vs a dict vs other? And I > don't mean these questions in a condescending way. I think it would be good > to hear your thought process on how you view the way a class works. Then we > can address the specifics. What do you expect to get back when you > construct a Point object in different ways? How would you expect to see a > list vs a dict result? Given that your example never calls any of your 4 > extra methods, how do you envision them being called implicitly?
I was expecting it to return it in terms that I understand... Truth be told, I do not have the slightest idea of what is being returned when using maya api as I have no knowledge in the api area, a total noob here.. In python term, for example, if I am using [], I know that if I type in type(), it will give me <type 'list'> as the result, returning it as list. Correct me if I am wrong but can I assume that in api term, the methods that I am using, for example om.MPoint, om.MFloatVector, the 'term' that it will return will be called MPoint and MFloatVector? Again, I apologize if this sounds like a stupid question -- 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 python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/f055acff-03c5-4a4d-a22e-47cb9c5c8bd2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.