I'm sure it's pretty dumb problem but i just can't figure it out.
I want my button to perform some action ( basically call other function with a parameter)
button -command("exportObjChan("+$mainBoxGroupUI+")")$mainBoxGroupUI ;
But no matter what mainBoxGroupUI is , i got the same error : "Invalid use of Maya object"
exportObjChan( string $value)
Any suggestions are greatly appreciated! Thx^^