4.3.9 MFnTransform

The following MFnTransform methods differ from their C++ counterparts.

getScale( status=None)
Returns a list of 3 floats. status is an optional MStatus object that receives the result code.

getShear( )
Returns a list of 3 floats. status is an optional MStatus object that receives the result code.

getRotationQuaternion( space=MSpace.Space.kObject, status=None)
Returns a list of 4 floats containing the quaternion (x, y, z, w). status is an optional MStatus object that receives the result code.

getRotation( ...)
The C++ version with the following signature:

MStatus getRotation(double rotation[3], MTransformationMatrix::RotationOrder & order)

does only take an optional MStatus object as argument in the Python version and returns a 2-tuple (rotation, order) containing a list of three floats and the rotation order. The other overloaded versions of this method just work as their C++ counterparts.