Go to:
Return value. Related commands. Examples.
Synopsis
setKeyPath [object]
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.
Return value
string[] the names of the created curve node and motionPath node
Related commands
autoKeyframe, setKeyframe, setDrivenKeyframe, findKeyframeExamples
// Apply setKeyPath command on the currently selected object at current time:
setKeyPath;
// Apply setKeyPath command on an object named "ball" at current time:
setKeyPath ball;