PDA

View Full Version : maya2011 - QT_tips_and_tricks


tonytouch
04-07-2010, 09:07 AM
hello ,

as there has been an enormous change in the mayaUI in version 2011 - with this thread , i want to find out , how people use the new possibilities - and what "riscs" and "benefits" are raising .

feel free to post your efforts in customizing Maya . Or also post "incompatibilities" with the native MEL_UI . maybe this will result in a better understanding for QT and how to use it .

have a nice day

tonytouch
04-07-2010, 09:16 AM
so i start with "docking" the "OUTLINER"

OutlinerWindow; dockControl -area "left"
-content outlinerPanel1
-label "outliner"
-allowedArea "left"
-allowedArea "right"
-width 250;
deleteUI "outlinerPanel1Window" ;


this also works with the Hypershade


HypershadeWindow;
dockControl -area "left"
-content hyperShadePanel1
-label "Hypershade"
-allowedArea "left"
-allowedArea "right"
-width 600;
deleteUI "hyperShadePanel1Window" ;


it seems , that now i can have opened 2 outliners , and also 2 Hypershades at the same time - which on the first glance work together simultaneously .


-------------------------------------------------------------------------

tonytouch
04-07-2010, 09:28 AM
but once i do the same with the "ScriptEditor" - i get into one Big Problem - how to solve it ?


ScriptEditor;
dockControl -area "right"
-content scriptEditorPanel1
-label "ScriptEditor"
-allowedArea "left"
-allowedArea "right"
-width 600;
deleteUI "scriptEditorPanel1Window" ;

usually , once i "close" the scriptEditor ... my scripts are being saved in the "scriptEditorTemp"-directory in the user-directory ( prefs ) .

but this seems just to be done , when i "close" the original ScriptEditorWindow - if i "close" (X) the "dockedScriptEditor" things are not saved .

and also , having 2 ScriptEditors being open , at the same time , which do not update simulteneously - is not good .

hm ... so how can i "dock" my scriptEditor-Window into the QT_UI - in order that it works proper ? and once i close it , the scripts are "save" - as well , as once i re-click in the right maya-Corner on the scripteditor_button it is automatically "docked" ?

i really like the new QT ... and would just love to dock in the scriptEditor on the right side of my interface .

beaker
04-13-2010, 12:10 PM
it seems , that now i can have opened 2 outliners , and also 2 Hypershades at the same time - which on the first glance work together simultaneously .Just a little fyi. You have actually always been able to open multiple of any panel since Maya 1.0. I don't have v2011 installed yet but I doubt the syntax has changed.

this is the command to open the outliner.
tearOffPanel "Outliner" "outlinerPanel" false;

to open a second you simply add a number
tearOffPanel "Outliner1" "outlinerPanel" false;
tearOffPanel "Outliner2" "outlinerPanel" false;

Though I just tried this out with the hypershade and maya says you can't open 2 of those. I never tried because the only window I ever needed mutiple ones of is the outliner/hypergraph/graph editor.

Thanks for the info about docking the windows. It will be very useful in the next couple weeks when I switch over.

jkalaigian
04-13-2010, 08:20 PM
Great find. Is there a way to allow those panels to be maximized (by hitting Spacebar)?

Hamburger
04-21-2010, 12:03 AM
How do you stop from multiple windows being opened? what happens if you only want one floating Outliner at a time?

Edit: Once you use this script and close the window Maya still remembers it:

Hamburger
04-21-2010, 05:57 AM
Is it also possible to kill a docked widget when the scene closes?

eikonoklastes
04-21-2010, 06:08 AM
After playing with docking the Outliner, it's clear to see why it isn't supported by default. It's broken.

Docking the Outliner makes you lose the 'F' key functionality, where you can select an object in the viewport and press 'F' in the Outliner to frame that object.

Worse though is that if you dock the Outliner and then float another Outliner, Maya loses it. It throws up error messages and almost definitely crashes afterwards.

I've reverted back to the default behavior, which is quite disappointing.

Hamburger
04-21-2010, 06:10 AM
Docking the Outliner makes you lose the 'F' key functionality, where you can select an object in the viewport and press 'F' in the Outliner to frame that object.

Works for me!

eikonoklastes
04-21-2010, 01:39 PM
Works for me!C'mon man, stop messing around, I feel bad enough as it is.

When I dock the Outliner, pressing 'F' over the Outliner, frames the object in the viewport instead!

Are you sure that it works for you? The normal behavior is if the object is nested, pressing F while your mouse is over the Outliner, should reveal that object in the Outliner and do nothing in the viewports.

beaker
04-21-2010, 05:51 PM
It doesn't work here either. Though you can just right click > reveal selected.

Hamburger
04-21-2010, 09:45 PM
C'mon man, stop messing around, I feel bad enough as it is.

When I dock the Outliner, pressing 'F' over the Outliner, frames the object in the viewport instead!

Are you sure that it works for you? The normal behavior is if the object is nested, pressing F while your mouse is over the Outliner, should reveal that object in the Outliner and do nothing in the viewports.

I'm sorry I miss-understood your post, I thought you meant the F key does not work at all. Sorry you are right.

beaker
04-29-2010, 03:50 AM
a little more on this topic:
http://mayastation.typepad.com/maya-station/2010/04/dockcontrol-new-to-maya-2011.html

pixelshaker
04-30-2010, 09:04 AM
Hey all,

would it be possible to create a fullscreenwindow for a second monitor and dock then panels like oultiner and hypershade within this window ?

that would be great!

best,
andy

pixelshaker
04-30-2010, 09:37 AM
Hey all,

would it be possible to create a fullscreenwindow for a second monitor and dock then panels like oultiner and hypershade within this window ?

that would be great!

best,
andy

pixelshaker
04-30-2010, 09:58 AM
Hey all,

would it be possible to create a fullscreenwindow for a second monitor and dock then panels like oultiner and hypershade within this window ?

that would be great!

best,
andy

CGTalk Moderation
04-30-2010, 09:58 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.