On 16 Mar, 21:04, LeonTheProfessional <orionfl...@gmail.com> wrote:
> Sorry I pasted the code somewhere else. But I got the same object
> doesn't exist error now.
>

Sorry, but I made mistake. Your code is fine, but for proper results
you have to
increase tolerance in getPointAtUV. So replace getPointAtUV parameter
list with this:
mfnMesh.getPointAtUV(0, WSpoint, float2ParamUV,
mayaSDK.MSpace.kWorld,None,1.0)
When you do this it gives you correct results.
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to