string $panel = 'outlinerEditor';
dockControl $panel;
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/59bc6a61-61bf-4711-ba76-be47ff563c1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5BAB3AF8-0AE8-4DE3-89EA-0FB0CA732F3E%40gmail.com.
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5BAB3AF8-0AE8-4DE3-89EA-0FB0CA732F3E%40gmail.com.
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3AWhxYeJviLD-M-M3rnszH57pTTWux52ov7qEx4bY9Bg%40mail.gmail.com.
On Sun, 4 Oct 2015 9:02 AM Crest Christopher <crestchr...@gmail.com> wrote:
I assume an event filter would save the U.I changes ?
I'm not sure what happens specifically with the Outliner when it changes from docked to floating. Maybe it is the same Qt instance and just wrapped differently. Maybe it is always destroyed and recreated. An event filter would only let you watch for when objects are created and to see if it's an Outliner. In which case if it were an Outliner, you would then be able to install your custom behavior.
Not saying this specifically applies to your needs here.. but was just confirming some past experience with Arvid
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/56103445.1000903%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/56103445.1000903%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/630CFA82-CC47-4C8F-8014-39B7F04932A4%40gmail.com.
On Sun, 4 Oct 2015 9:54 AM Crest Christopher <crestchr...@gmail.com> wrote:
I'm perplexed on what is the best direction to follow ?
What is the exact problem that you want to solve?
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5610406F.1090508%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0NyHniSW%2BYbFXoDRtbxxwuGvRjxSDknhT705t39UzwWw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
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. ;-(
def print_outliners():panels = cmds.lsUI(panels=True, long=True)outs = [p for p in panels if cmds.outlinerPanel(p, q=True, exists=True)]print outswin = cmds.window()cmds.frameLayout( labelVisible=False )panel = cmds.outlinerPanel()cmds.showWindow(win)dc = cmds.dockControl(area="left", content=win, label="Outliner", width=200)print_outliners()# [u'outlinerPanel1', u'outlinerPanel2']# Float the custom outlinerprint_outliners()# [u'outlinerPanel1', u'outlinerPanel2']
Justin Israel wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/59bc6a61-61bf-4711-ba76-be47ff563c1a%40googlegroups.com.
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 python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5BAB3AF8-0AE8-4DE3-89EA-0FB0CA732F3E%40gmail.com.
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 python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3AWhxYeJviLD-M-M3rnszH57pTTWux52ov7qEx4bY9Bg%40mail.gmail.com.
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 python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/56103445.1000903%40gmail.com.
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 python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/630CFA82-CC47-4C8F-8014-39B7F04932A4%40gmail.com.
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 python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5610406F.1090508%40gmail.com.
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 python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0NyHniSW%2BYbFXoDRtbxxwuGvRjxSDknhT705t39UzwWw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
––––•(-• Christopher •-)•––––
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/343b8445-5e28-4912-bb75-73004d51259f%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/343b8445-5e28-4912-bb75-73004d51259f%40googlegroups.com.
To unsubscribe from this group and all its topics, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/343b8445-5e28-4912-bb75-73004d51259f%40googlegroups.com.
The code that I posted was actually more of a test directed at Arvid, to illustrate that I was still seeing the ability to resolve Outliner panels regardless of their dock state. I am not sure what the exact solution is for you; of you were trying to modify the default Outliner, or create and dock a brand new ones.
ScriptJob is in the commands docs, so just look that up.
Justin Israel wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/59bc6a61-61bf-4711-ba76-be47ff563c1a%40googlegroups.com.
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5BAB3AF8-0AE8-4DE3-89EA-0FB0CA732F3E%40gmail.com.
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3AWhxYeJviLD-M-M3rnszH57pTTWux52ov7qEx4bY9Bg%40mail.gmail.com.
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/56103445.1000903%40gmail.com.
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/630CFA82-CC47-4C8F-8014-39B7F04932A4%40gmail.com.
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5610406F.1090508%40gmail.com.
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0NyHniSW%2BYbFXoDRtbxxwuGvRjxSDknhT705t39UzwWw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
––––•(-• Christopher •-)•––––
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/343b8445-5e28-4912-bb75-73004d51259f%40googlegroups.com.
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/56115431.80906%40gmail.com.
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/ac4e3dc9-72ad-4f17-b051-fc3fc2a61df0%40googlegroups.com.
Hey Christopher,
After you've made your custom layout, click File -> Save Preferences. No need to wait until Maya closes to save your prefs.
On Sat, Oct 17, 2015 at 12:16 PM, Christopher. <crestchr...@gmail.com> wrote:
If as you all probably know, Maya closes clean, as in, not crashing, even after saving your custom layout, it remains the same the next time you start.
Recently Maya crashed on me, and my custom layout is gone, any solution to this ?
On Saturday, October 3, 2015 at 1:13:19 PM UTC-4, Christopher. 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 python_inside_maya+unsub...@googlegroups.com.