Go to: Synopsis. Return value. Related. Python examples.
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.string | name of panel |
In query mode, return type is based on queried flag.
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 )