Luke Titley wrote:
> In maya's C++ api it is possible to convert from an MMatrix into an
> MQuaternion by using the MQuaternions overloaded assignment operator.
> I don't think you can do this in python. Is there a work around in Maya
> Python ? I haven't been able to find anything in the documentation.
So far, the assignment operators are not wrapped because assignment in
Python works differently than in C++.
I think I could either turn them into constructors or wrap them as
methods. Personally, I'd prefer the constructor approach but I still
have to check how easy it is to accomplish this using Py++.
I'll look into it...
- Matthias -