Text Fields in Maya Explained (Python)

Posted by:

Text fields are confusing.  It’s easy to display one, but how do you get information from one?  How do you update them?  Maybe you should look to the Autodesk website for detailed information… HaHaHahahaaaa.  Sorry, that one always gets me.

This is the code that goes in the GUI layout:

cmds.textField()
Simple.
So to see that in action in a GUI copy this code:

Great, that is a text field.  But how do you use it?  Well let’s say you want to read the entry ...

Continue Reading →
0