I'm not creating a window, just the scriptedPanelType and a new
scriptedPanel. Then I'm using the panel in the main window, so I can't
really delete that. :) Here's the code:
cmds.scriptedPanelType('myPanelType', unique=True)
cmds.scriptedPanel('myPanel', unParent=True, type='myPanelType',
label='Blank')
After running this, I can delete the panel using deleteUI, but I haven't
found a way to get rid of the panel type.
On Monday, August 6, 2012 5:39:28 PM UTC-7, Jeremy Chinn wrote:
>
> deleteUI on the window it creates? This is a bit old but seemed to be a
> decent explanation of how they work.
>
> http://xyz2.net/mel/mel.042.htm
>
>
> On Monday, August 6, 2012 12:58:48 PM UTC-7, jdob wrote:
>>
>> Anybody know how to delete a custom scriptedPanelType?
>>
>
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http://groups.google.com/group/python_inside_maya/subscribe