Go to: Synopsis. Return value. Python examples.

Synopsis

resetTool( [string] )

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

resetTool is undoable, NOT queryable, and NOT editable.

This command resets a tool back to its "factory settings"

Return value

None

Python examples

import maya.cmds as cmds

cmds.resetTool( 'moveSuperContext' )