Tech-Artists.org :-)

aaand, I got this today:

Comment #2 on issue 237 by [email protected]: preloadRefEd example
window is blank
http://code.google.com/p/pymel/issues/detail?id=237

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.

On Mar 30, 7:41 pm, Paul Molodowitch <[email protected]> wrote:
> Yeah, was actually investigating as a result of that ticket. =P
>
> Probably a dumb question... TAO?
>
> - Paul
>
> On Wed, Mar 30, 2011 at 12:57 PM, PyInUrEye <[email protected]> wrote:
> > Yes, there's a big issue with it and it looks like a bigger issue than
> > just pymel implementation.  It looks like autodesk never fully got it
> > working in mel either.  It extends, to my knowledge, from 2009 up
> > until the current version.  More information on this is definitely
> > appreciated if anyone knows anything.  I raised the same question on
> > TAO a bit ago and Jason Parks was kind enough to submit it to the
> > pymel issues database.
> >http://code.google.com/p/pymel/issues/detail?id=237
>
> > On Mar 30, 8:12 am, Paul Molodowitch <[email protected]> wrote:
> > > Hi all - was just wondering if anyone out there had used the preloadRefEd
> > > command / control before, and if so, would let me know what the 'proper'
> > way
> > > to use it was, so I can confirm whether or not it's working.  Running the
> > > sample code in the documentation:
>
> > > import maya.cmds as cmds
> > > window = cmds.window()
> > > cmds.paneLayout()
> > > cmds.preloadRefEd()
> > > cmds.showWindow(window)
>
> > > ...results in a blank window.  Help?
>
> > > - Paul
>
> > --
> >http://groups.google.com/group/python_inside_maya
>
>

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to