Go to: Synopsis. Return value. Related. Python examples.

Synopsis

devicePanel()

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

devicePanel is undoable, queryable, and editable.

This creates a panel containing an editor for creating/modifying attachments to input devices.

Return value

stringname of panel

In query mode, return type is based on queried flag.

Related

assignInputDevice, attachDeviceAttr, detachDeviceAttr, getInputDeviceRange, getModifiers, listDeviceAttachments, listInputDeviceAxes, listInputDeviceButtons, listInputDevices, recordAttr, setAttrMapping, setInputDeviceMapping, unassignInputDevice

Python examples

import maya.cmds as cmds

# This example creates a new device panel in its own window
window = cmds.window()
cmds.paneLayout()
cmds.devicePanel()
cmds.showWindow( window )