Hi,

You should look at the NurbsCurve methods in pymel.  You could use 
closestPoint() to get the vector of the point on curve2 from the closest 
point given (which would be the point on curve1, you vec_target), you could 
then use getParamAtPoint() which would return you a uvalue parameter from 
the point on curve2 which you get from the first method.  Then pass the 
uValue parameter into the insertKnotCurve command which should make you a 
knot at the correct place on your curve1. 

On Monday, 17 October 2016 22:11:10 UTC+1, [email protected] wrote:
>
> i see the polyListComponentConversion command. and its not doing exactly 
> what i was after, but maybe im using it wrong

-- 
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/e7b222f3-f4a1-49e2-83d7-2458cf14da8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to