View Full Version : Simple script help
12 December 2003, 03:57 PM
I have a button that creates a cube. I want a window to pop up and prompt the user to enter a name for the cube and have it rename the newly created cube. Any help would be appreciated.
12 December 2003, 04:51 PM
textField -editable true ren_f;
button -c "ren" button;
string $sel=`ls -sl`;
rename $sel `textField -q -tx ren_f`;
12 December 2003, 05:07 PM
Thank you very much for that. It helped me out tremendously. Trying to make a UI for rigging a character faster and that was one of the last things I needed to get. Now just have to implement it and test.
01 January 2006, 12:00 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.