pymel.core.context.curveAddPtCtx — PyMEL 1.0.7 documentation

pymel.core.context.curveAddPtCtx

curveAddPtCtx(*args, **kwargs)

The curveAddPtCtx command creates a new curve add points context, which adds either control vertices (CVs) or edit points to an existing curve.

Flags:

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

# To create a new context:
pm.curveAddPtCtx("CurveAddPtCtx")
# Result: u'CurveAddPtCtx' #
pm.setToolTo("CurveAddPtCtx")