The curveAddPtCtx command creates a new curve add points context, which adds either control vertices (CVs) or edit points to an existing curve.
| Long name (short name) | Argument Types | Properties | |
|---|---|---|---|
| exists (ex) | bool | ||
| image1 (i1) | unicode | ||
| image2 (i2) | unicode | ||
| image3 (i3) | unicode | ||
Derived from mel command maya.cmds.curveAddPtCtx
Example:
import pymel.core as pm
import maya.cmds as cmds
# To create a new context:
pm.curveAddPtCtx("CurveAddPtCtx")
# Result: u'CurveAddPtCtx' #
pm.setToolTo("CurveAddPtCtx")