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.

Dynamic library stub function

Flags:

Long Name / Short Name Argument Types Properties
clutch / c unicode ../../../_images/create.gif
  Only delete command attachments with this clutch.
device / d unicode ../../../_images/create.gif
  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' )