After abit of searching, it seems that Maya creates the layer editor by
sourcing "layerEditor.mel" in the script directory, and the script can only
create single instance of layerEditor called "DisplayLayerUITabLayout"
(repeated sourcing  layerEditor.mel will fail). Thus if we use this unique
name and convert it to qt widget, we can then embed it into our own widget.
I've pasted the snippets here:

https://gist.github.com/r4inm4ker/dfd7eb0ce2915d004367

after that don't forget to source layerEditor.mel again to recreate the
default layerEditor widget below channelBox...


---Jefri



On Tue, Sep 8, 2015 at 1:08 AM, Kurian O.S <[email protected]> wrote:

> Hey Guys,
>
> Anyone got any luck to embed maya layer editor inside a pyqt dialog ?. i
> was able to embed some of the other ui items like panel's outliner etc..
> but layer editor I never got any idea. Anyone have any hints ?
>
> Thanks
>
> --
> --:: Kurian ::--
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CANEMyhOmwjcxH5pa9_x3aqjY6eq8E0AVVms6XZ7ASPEkxbQRWg%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CANEMyhOmwjcxH5pa9_x3aqjY6eq8E0AVVms6XZ7ASPEkxbQRWg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CACdyi7qcbdjQmVsnxdOWmPWy7NgeTENXihYLeTUiYGrRe9QaYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to