Go to: Synopsis. Return value. MEL examples.

Synopsis

ctxCompletion

ctxCompletion is undoable, NOT queryable, and NOT editable.

This command tells the current context to finish what it is doing and create any objects that is is working on.

Return value

None

MEL examples

// Create a curve
curve -p 0 0 0 -p 3 5 6 -p 5 6 7 -p 9 9 9 -p 12 10 2 -k 0 -k 0 -k 0 -k 1 -k 2 -k 2 -k 2;
// Result: curve1 //

// Create a new curve editor context to modify the curve, then switch to it
// You can modify the curve using the manipulator handle
curveEditorCtx curveEditorCtx1;
setToolTo curveEditorCtx1;

// This command ends curve editing. The manipulator handle will disappear, leaving the modified curve
ctxCompletion;