All LayerEditor.Mel updates take place after Maya is restarted. On Sep 8, 2015 10:15 AM, "Kurian O.S" <[email protected]> wrote:
> This works, but the issue is once if you source the layerEditor.mel then > we won't get any update on the wrapped one :( > > On Tue, Sep 8, 2015 at 9:58 AM, Kurian O.S <[email protected]> wrote: > >> Perfect , thanks Jefri >> >> On Tue, Sep 8, 2015 at 7:14 AM, Jefri Yeh <[email protected]> wrote: >> >>> 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 >>> <https://groups.google.com/d/msgid/python_inside_maya/CACdyi7qcbdjQmVsnxdOWmPWy7NgeTENXihYLeTUiYGrRe9QaYA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> --:: Kurian ::-- >> > > > > -- > --:: 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/CANEMyhME6oHEdNaBF4ezTwqMj%2BGr1i9FO%2BX%3D%3D_2ms9XzOpJu_w%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CANEMyhME6oHEdNaBF4ezTwqMj%2BGr1i9FO%2BX%3D%3D_2ms9XzOpJu_w%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/CACqGScijR6T8%2BoRMnNA_ZfGnmejaa5b6WWe%3D5Et4-reaAWdzmg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
