The setKeyPath command either creates or edits the path (a nurbs curve) based on the current position of the selected object at the current time.
Derived from mel command maya.cmds.setKeyPath
pymel.core.animation.setInfinity
pymel.core.animation.setKeyframe
Enter search terms or a module, class or function name.