pymel.core.windows.devicePanel

devicePanel(*args, **kwargs)

This command is now obsolete. It is included only for the purpose of file compatibility. It creates a blank panel.

Flags:
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 )

Previous topic

pymel.core.windows.deviceEditor

Next topic

pymel.core.windows.dimWhen

Core

Core Modules

Other Modules

This Page