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 Only delete command attachments with this clutch. device / d unicode Specifies the device to work on. Flag can have multiple arguments, passed either as a tuple or a list. 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' )