I want to dock the outliner, but as Arvid mentioned; it will only save per session; upon restarting Maya, all is lost. You have to continuously run the same code to dock the outliner. ;-(


Justin Israel wrote:


On Sun, 4 Oct 2015 9:54 AM Crest Christopher <[email protected] <mailto:[email protected]>> wrote:

    I'm perplexed on what is the best direction to follow ?

What is the exact problem that you want to solve?

    Arvid Schneider wrote:

        Unfortunately it's not that simple :/

        As Justin suggested to install a QEvent on Maya's MainWindow
        would to the trick I guess. You can query the active window,
        or under pointer, but it's all messy and just a hack.

        A possibility would be to change the outliner.mel file (not
        sure the proper name) but that would be probably just for
        local fixes.

        Arvid Schneider
        Look Develpopment | Lighting TD | Show TD
        www.arvidschneider.com <http://www.arvidschneider.com>

        On Oct 3, 2015, at 22:02, Crest Christopher
        <[email protected]
        <mailto:[email protected]>> wrote:

            I assume an event filter would save the U.I changes ?

            I was hoping when writing the code I could use the
            outlineEditor command to manipulate the outliner window,
            unfortunately, no.

            Justin Israel wrote:

                Yea I have found that same kind of outcome when trying
                to mess with built-in UI elements in Maya. I think
                mine was trying to hook into viewport behavior and
                also finding that things reset each time the view
                layout changes and rebuilds them. Pretty sure the only
                real way to tackle it is to install an event filter on
                the entire app and try to catch the desired changes.

                On Sun, Oct 4, 2015 at 7:34 AM Arvid Schneider
                <[email protected]
                <mailto:[email protected]>> wrote:

                    That again, is a really annoying thing in maya.

                    When it's docked it's a panel. When it's floating
                    it's a window.

                    When you want to hook up code to either one, for
                    instance a custom right click menu entry, it only
                    lives so long until you close it. When you change
                    viewport to single view, the outliner object is
                    deleted, and so is your custom stuff.

                    So you need a callback to hook up you code..I
                    didn't find a great way yet to hack something into
                    it.

                    Any help is welcome!

                    Arvid Schneider
                    Look Develpopment | Lighting TD | Show TD
                    www.arvidschneider.com <http://www.arvidschneider.com>

                    On Oct 3, 2015, at 19:13, Christopher.
                    <[email protected]
                    <mailto:[email protected]>> wrote:

                        When docking a panel, in this case, the
                        outliner.  Most of the code I find start with
                        outlinerWindow, yet the docs only mention
                        outlinerEditor & outlinerPanel ?

-- 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] 
<mailto:[email protected]>.
                        To view this discussion on the web visit
                        
https://groups.google.com/d/msgid/python_inside_maya/59bc6a61-61bf-4711-ba76-be47ff563c1a%40googlegroups.com
                        
<https://groups.google.com/d/msgid/python_inside_maya/59bc6a61-61bf-4711-ba76-be47ff563c1a%40googlegroups.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]
                    <mailto:[email protected]>.
                    To view this discussion on the web visit
                    
https://groups.google.com/d/msgid/python_inside_maya/5BAB3AF8-0AE8-4DE3-89EA-0FB0CA732F3E%40gmail.com
                    
<https://groups.google.com/d/msgid/python_inside_maya/5BAB3AF8-0AE8-4DE3-89EA-0FB0CA732F3E%40gmail.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 a topic in the Google Groups "Python Programming
                for Autodesk Maya" group.
                To unsubscribe from this topic, visit
                
https://groups.google.com/d/topic/python_inside_maya/bXgyvDvHhrE/unsubscribe.
                To unsubscribe from this group and all its topics,
                send an email to
                [email protected]
                <mailto:[email protected]>.
                To view this discussion on the web visit
                
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3AWhxYeJviLD-M-M3rnszH57pTTWux52ov7qEx4bY9Bg%40mail.gmail.com
                
<https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3AWhxYeJviLD-M-M3rnszH57pTTWux52ov7qEx4bY9Bg%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]
            <mailto:[email protected]>.
            To view this discussion on the web visit
            
https://groups.google.com/d/msgid/python_inside_maya/56103445.1000903%40gmail.com
            
<https://groups.google.com/d/msgid/python_inside_maya/56103445.1000903%40gmail.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 a
        topic in the Google Groups "Python Programming for Autodesk
        Maya" group.
        To unsubscribe from this topic, visit
        
https://groups.google.com/d/topic/python_inside_maya/bXgyvDvHhrE/unsubscribe.
        To unsubscribe from this group and all its topics, send an
        email to [email protected]
        <mailto:[email protected]>.


        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/python_inside_maya/630CFA82-CC47-4C8F-8014-39B7F04932A4%40gmail.com
        
<https://groups.google.com/d/msgid/python_inside_maya/630CFA82-CC47-4C8F-8014-39B7F04932A4%40gmail.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]
    <mailto:[email protected]>.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/python_inside_maya/5610406F.1090508%40gmail.com
    
<https://groups.google.com/d/msgid/python_inside_maya/5610406F.1090508%40gmail.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 a topic in the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/bXgyvDvHhrE/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0NyHniSW%2BYbFXoDRtbxxwuGvRjxSDknhT705t39UzwWw%40mail.gmail.com <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0NyHniSW%2BYbFXoDRtbxxwuGvRjxSDknhT705t39UzwWw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
––––•(-• Christopher      •-)•––––


--
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/5610439F.2060207%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to