Go to: Synopsis. Return value. Flags. MEL examples.
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.
None
down, left,
right, up
Long name (short name) |
Argument types |
Properties |
-up(-up) |
|
 |
|
Move "up" as defined by the current context. |
|
-down(-d) |
|
 |
|
Move "down" as defined by the current context. |
|
-right(-r) |
|
 |
|
Move "right" as defined by the current context. |
|
-left(-l) |
|
 |
|
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. |
// 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;