View Full Version : SetFocusToNumericInputLine
LeeGriggs 02-21-2007, 02:46 PM This does not seem to work anymore in maya 8.5
Its in hotkeys>miscellaneous>SetFocusToNumericInputLine
global string $gNumericalInputField; setFocus $gNumericalInputField;
I guess its because it has changed in 8.5
Does anyone know the mel to set the focus to this field ?
cheers,
lee
|
|
Segmoria
02-21-2007, 03:50 PM
The structure of this UI seems to have changed in 8.5. By default it now seems to have been set to the "Absolute transform" mode (and consists of three different fields, each one for an axis) whereas in previous versions it was set to the "Quick Selection" mode (and only had one field). To be able to use it like in the previous versions, I guess that you will firstly have to change the mode and then set the focus.
The global variable that holds the textfield when set to the "Quick Selection" mode
is $gTextualInputField (they must have forgotten to fix this) so all you have to do is assign the following command under "hotkeys>miscellaneous>SetFocusToNumericInputLine" within the Hotkey Editor for it to work.
global string $gTextualInputField; setQuickFieldMode Select; setFocus $gTextualInputField;
Hope this helps
LeeGriggs
02-21-2007, 04:37 PM
nice one Segmoria :)
CGTalk Moderation
02-21-2007, 04:37 PM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.