New to MEL Question

New to MEL Question

Anonymous
Not applicable
224 Views
1 Reply
Message 1 of 2

New to MEL Question

Anonymous
Not applicable
I think I figured out how to make a window and buttons but what I want it to do is have a text field that I want to put a value in there, and the script will substitute that value in the script.

I'm sorry I really new at this but I want to develop this script so its easier for an animator to work.

Thanks
Ice
0 Likes
225 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Try to press the F1 keyboard-key to get the Maya help.

On the left there is a long menu, just check out the technical documentation.
In the mel-script command list to the right, write textField and you will find few example.

To query the textfield just do that :

string $text= `textField -q -tx myTextFieldName`;
0 Likes