Go to: Synopsis. Return value. MEL examples.



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.

Return value

string(name of the new context)

In query mode, return type is based on queried flag.

MEL examples

// To create a new context:
curveAddPtCtx CurveAddPtCtx;
setToolTo CurveAddPtCtx;