pymel.core.system.unassignInputDevice

unassignInputDevice(*args, **kwargs)

This command deletes all command strings associated with this device. In query mode, return type is based on queried flag.

Flags:
Long name (short name) Argument Types Properties
clutch (c) unicode ../../../_images/create.gif
 
Only delete command attachments with this clutch.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.
device (d) unicode ../../../_images/create.gif
 
Specifies the device to work on.

Derived from mel command maya.cmds.unassignInputDevice

Example:

import pymel.core as pm

# This deletes all command strings associated with the spaceball.
pm.unassignInputDevice( d='spaceball' )

Previous topic

pymel.core.system.translator

Next topic

pymel.core.system.undo

Core

Core Modules

Other Modules

This Page