Go to: Synopsis. Return value. MEL examples.

Synopsis

ctxAbort

ctxAbort is undoable, NOT queryable, and NOT editable.

This command tells the current context to reset itself, losing what has been done so far. If a escape context has been set it then makes that context current.

Return value

None

MEL examples

// Create a new particle tool context, then switch to it
dynParticleCtx dynParticleCtx1;
setToolTo dynParticleCtx1;
// Click the positions where you want to place the particles

// This command will reset the particle tool, clear the particles you have just created
ctxAbort;