Maya: Convert Curve CV to Point on Curve, then Detach?



This is something I’ve never quite been able to figure out. In Maya, is it possible to split a curve (detach curve command) by selecting one of the control vertices on the curve?

Detach curve requires a curve point, so I’m trying to see if there is something in Python that can convert a CV selection to a point on curve then detach…

Sometimes I need precise splits, so a script is in order.


Just get the cv’s value and supply it to a NearestPointOnCurve node. Roughly…

pos = cmds.xform(“{0}.cvs[{1}]”.format(curve, index), q=True, ws=True, t=True)

Then use NearestPointOnCurve with that position and supply its result.parameter to the detachCurve.



Wow thank you! That should help.