Thanks, you're my hero! The code is ugly as hell but works like a charm. :) I've never would have thought about this strange way of variable initialization, probably I should read more of the dark art of MScriptUtil madness.
Cheers, Szabolcs >> Is the returned UV not a float2 data? Or am I doing something totally wrong? >> >> Any help is much appreciated! >> > > You need create those float2 data before , so try this: > > uvPoint = MSUtil().createFromList((0.0,0.0),2) > uvPointPtr = uvPoint.asFloat2Ptr() > faceIter.getUVAtPoint(closestPoint, uvPointPtr, 1, "") > > or something like that. That's the beauty of Autodesk Maya Python > implementation :) > > -- http://groups.google.com/group/python_inside_maya
