ECToo / pymel

Automatically exported from code.google.com/p/pymel
0 stars 0 forks source link

preloadRefEd example window is blank #237

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When the sample code run from the docs for pymel.core.system.preloadRefEd are 
run:

import pymel.core as pm

window = pm.window()
pm.paneLayout()
# Result: ui.PaneLayout('window1|paneLayout2') #
pm.preloadRefEd()
# Result: u'preloadRefEd1' #
pm.showWindow(window)

The window comes up blank, even with references in a loaded scene
Describe the problem.

MayaVersion: 2011 x64, Win7
PyMel 1.0.2

Original issue reported on code.google.com by Count....@gmail.com on 11 Mar 2011 at 8:51

GoogleCodeExporter commented 9 years ago
I'm getting the same problem on Win 32, Maya 2009, pymel 1.0.2

Original comment by tradigi...@gmail.com on 11 Mar 2011 at 9:43

GoogleCodeExporter commented 9 years ago
I've confirmed this as a problem.
The issue seems to be with the root maya.cmds function - running the example 
code for maya.cmds.preloadRefEd:

import maya.cmds as cmds
window = cmds.window()
cmds.paneLayout()
cmds.preloadRefEd()
cmds.showWindow(window)

...gives the same result, and I haven't found any way to make it show up yet.

I submitted a bug report to autodesk, #383339, but after asking around, it 
seems it's a known issue that's been around since 2009.

Given that there's not much we can do to fix this if the underlying command 
isn't working at all (and that, presumably, once the maya.cmds version starts 
working, the pymel one should as well), I'm going to close this ticket.

Original comment by elron...@gmail.com on 31 Mar 2011 at 2:54