Go to: Synopsis. Return value. Python examples.

Synopsis

setToolTo( [string] )

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

setToolTo is undoable, NOT queryable, and NOT editable.

This command switches control to the named context.

Return value

None

Python examples

import maya.cmds as cmds

cmds.setToolTo( 'moveSuperContext' )