Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / MEL / New to MEL Question
  RSS 2.0 ATOM  

New to MEL Question
Rate this thread
 
41744
 
Permlink of this thread  
avatar
  • Total Posts: 2
  • Joined: 04 October 2006 02:39 PM

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



Replies: 0
avatar
  • samavan
  • Posted: 19 April 2010 12:00 AM

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`;



Portfolio_small.png

Replies: 0