Yep, I think the better and faster way it's MfnTransform and inclusiveMatrix :)
-------------------------------- Marco D'Ambros phone : (+61) 0431 830085 mail : [email protected] wave : [email protected] On Tue, Aug 3, 2010 at 6:40 AM, Chad Vernon <[email protected]> wrote: > You can get matrices with MDagPath::inclusiveMatrix or exclusiveMatrix. To > set a matrix, you can use MFnTransform. The MPx* classes are proxy classes > that you only use when creating a custom object like a node or context. > > Chad > > > > > On Mon, Aug 2, 2010 at 1:05 PM, johnvdz <[email protected]> wrote: > >> Hi all, >> >> i have a script that calculates per vertex tangent space and constructs a >> matrix. which all works fine but now i'm just looking at trying to get it to >> work in a global position. >> >> what is the best way in Api to get the objects Inverse Square matrix or an >> object? there seems to be a few options whats the deference >> >> >> *MPxTransformationMatrix* >> <cid:[email protected]<cid%[email protected]>> >> () >> >> *MPxTransform* >> <cid:[email protected]<cid%[email protected]>> >> () >> >> any guidance would be great >> >> john >> >> -- >> http://groups.google.com/group/python_inside_maya > > > -- > http://groups.google.com/group/python_inside_maya > -- http://groups.google.com/group/python_inside_maya
