Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

ctxTraverse [-down] [-left] [-right] [-up]

ctxTraverse is undoable, NOT queryable, and NOT editable.

This command tells the current context to do a traversal.


Some contexts will ignore this command. Individual contexts determine what up/down left/right mean.

Return value

None

Flags

down, left, right, up
Long name (short name) Argument types Properties
-up(-up) create
Move "up" as defined by the current context.
-down(-d) create
Move "down" as defined by the current context.
-right(-r) create
Move "right" as defined by the current context.
-left(-l) create
Move "left" as defined by the current context.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

// Create a particle context, then switch to it
dynParticleCtx dynParticleCtx1;
setToolTo dynParticleCtx1;

// Now you can create particles by mouse clicking
// After creating several particles, we switch to edit mode
ctxEditMode;

// Traverse in the created particles
ctxTraverse -left;
ctxTraverse -left;
ctxTraverse -right;