>
> 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

Reply via email to