This command is now obsolete. It is included only for the purpose of file compatibility. It creates a blank panel.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
control (ctl) | bool | ||
copy (cp) | unicode | ||
createString (cs) | bool | ||
defineTemplate (dt) | unicode | ||
docTag (dtg) | unicode | ||
editString (es) | bool | ||
exists (ex) | bool | ||
init (init) | bool | ||
isUnique (iu) | bool | ||
label (l) | unicode | ||
menuBarVisible (mbv) | bool | ||
needsInit (ni) | bool | ||
parent (p) | unicode | ||
popupMenuProcedure (pmp) | callable | ||
replacePanel (rp) | unicode | ||
tearOff (to) | bool | ||
tearOffCopy (toc) | unicode | ||
unParent (up) | bool | ||
useTemplate (ut) | unicode | ||
Derived from mel command maya.cmds.devicePanel
Example:
import pymel.core as pm
import maya.cmds as cmds
# This example creates a new device panel in its own window
window = pm.window()
pm.paneLayout()
# Result: ui.PaneLayout('window1|paneLayout4') #
pm.devicePanel()
# Result: ui.DevicePanel('devicePanel1') #
pm.showWindow( window )