So Autodesk documentation on this is sparse and a bit inaccurate.
In order to get this function to work you need to separate out the parameters at the ‘.’ (something I am finding is a common thread among many of maya’s library functions)
This is the way to do it:
Note that this won’t work:
pointA = cmds.pointPosition(str(selectedCurve.cv), world = True)
Because the .cv is not separated out.
This however will work:
pointA = cmds.pointPosition(str(selectedCurve) + ‘.cv’, world = True)#this is just another way of converting a ...Continue Reading →