Go to: Synopsis. Return value. Python examples.
curveAddPtCtx()
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
curveAddPtCtx is undoable, queryable, and editable.
The curveAddPtCtx command creates a new curve add points context, which adds either control vertices (CVs) or edit points to an existing curve.| string | (name of the new context) |
In query mode, return type is based on queried flag.
import maya.cmds as cmds
# To create a new context:
cmds.curveAddPtCtx("CurveAddPtCtx")
cmds.setToolTo("CurveAddPtCtx")