alesmav
09-19-2003, 02:25 PM
I am building my UI and I encountered the following problem.
As you all know when building UI, you have to call procedures.
Lets say we have a simple UI with two buttons. With the first button you call a procedure in which you declare a float variable and assign a value to it. Now I want the second button to call the procedure that does something with this variable. When executing the script maya says that the variable from the second procedure is undeclared. I then declared a variable a a global, but it still doesn't work. What am I doing wrong??
ALES
As you all know when building UI, you have to call procedures.
Lets say we have a simple UI with two buttons. With the first button you call a procedure in which you declare a float variable and assign a value to it. Now I want the second button to call the procedure that does something with this variable. When executing the script maya says that the variable from the second procedure is undeclared. I then declared a variable a a global, but it still doesn't work. What am I doing wrong??
ALES
