I had the same problem, I also tried mesh.extendToShape().node() but got 
the same RuntimeError.
could not figure out why, I end up using MFnMesh.getClosestPoint()

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/9d45b744-833a-4fff-962d-1983cf9ea5c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to