How to link my typed text as a part of proc?

How to link my typed text as a part of proc?

Amit_Karny_עמית_קרני
Advocate Advocate
250 Views
0 Replies
Message 1 of 1

How to link my typed text as a part of proc?

Amit_Karny_עמית_קרני
Advocate
Advocate

Hi there!

NOTE: I DO HAVE ERROR WHILE USING THE QS SHORTCUT WHAT MAKES ME GO OVER AND VER AGAIN ALL THE MENUS TO CREATE NEW QS. SO:

Just newbie over here and trying to string for open text such as 

string $mycmnd = ();

But I have no idea where should I put that one, in case i am right at all

 

window -title Set_Creator_UI_;
if (`window -exists Set_Creator_UI_`) deleteUI Set_Creator_UI_;
columnLayout ;
text "Set's_Name";
textField;
button -w 40 -h  20 -l "Apply" -c "DOIT";
proc DOIT () {
    print ("Selection_set_had_been_Created!");
 


}
showWindow;

 in shortly i'd like to type any text in a field and than a selection set will be named by what i have typed. in other word  that will be attached to the command below instead of $mycmnd

 

sets -n $mycmnd;

 for excample:
I type "Benjamin"

Amit_Karny___0-1638023945915.png

and then in the outliner will be created the selectionSet

Amit_Karny___1-1638024031197.png


Thanks in advance!

0 Likes
251 Views
0 Replies
Replies (0)