Go to: Synopsis. Return value. Flags. MEL examples.
ctxEditMode [-buttonDown boolean] [-buttonUp boolean]
ctxEditMode is undoable, NOT queryable, and NOT editable.
This command tells the current context to switch edit modes.None
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-buttonDown(-btd)
|
boolean
|
|||
|
||||
-buttonUp(-btu)
|
boolean
|
|||
|
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 poly cube polyCube -w 2 -h 2 -d 2 -n pCube1; // Create a new rotate manip context, then switch to it. manipRotateContext manipRotateContext1; setToolTo manipRotateContext1; // Switch to edit mode to change pivots ctxEditMode;