[Closed] help with edittext plaese
hi guys
im making a script for the office that should help with materal signing for scenes
i was thinking about having one button to load a material library ,
than have a set of one button and editText , in the button i would select a specific material from the loaded library , then write the beginning of the name of an object ,like “tree” for example
the when ill run the function i want the script to assign the selected material for all the objects
that their name starts with the word tree , like tree001 tree 002 …
but the text enter in the edittext field gets the “” signs like, tree = “tree”
so when when i try to use that text in command line it always comes like this:“tree”
instead of this : tree
so lets say want to do :
select $tree*
i get select $“tree”*
and it doesn’t work , is there any way to drop the “” signs ?
and get the text that is entered in the edittext clean for use inside a command line ?
is there a batter way of approaching this ?
i hope you guys can help me.