View Full Version : Simple script help
12-20-2003, 02: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-20-2003, 03:51 PM
textField -editable true ren_f;
button -c "ren" button;
string $sel=`ls -sl`;
rename $sel `textField -q -tx ren_f`;
12-20-2003, 04: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-16-2006, 11:00 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-2015, Jelsoft Enterprises Ltd.