I've been trying to work on my MEL Scripting by creating a cleanup script in Maya and I've hit a roadbump. The script creates a new window with a few checkboxes with two buttons to confirm and close the window. Before running, it checks to see if you have an object selected before doing anything. In the back end, it's…
That's because you added the button titles without specifying the -label flag. I didn't get the first error,but got a : Fixed it by swapping $lightmapUV variable and $lightmaps variable at line 89.Then another error came because you wrote checkbox instead of checkBox in the procedures.Fixed it,and now i had a confirm…
What you could do to work faster in MEL is divide the project into small chunks.You should first finish the UI without giving any command to a button,just a nice useless UI that looks like what you're after. Once you're done work on procedures by following the buttons order (from top to bottom) or simply start with the…
Man, how did that get overlooked?! Many thanks for catching my mistake. I do apologize for the garbage layout I have and the unclear structure. I'll invest more time into window designs as soon as I have this script working.