//AUTHOR : Jayant bhatt.//don't modify , don't distribute.//works with maya 2017 and 2018 //PP if ( `window -exists "nameWindow"` ) {deleteUI "nameWindow";} // create a window with a menu barwindow -title "3DGhost" -menuBar true -w 220 -h 200 "nameWindow"; // two frame layouts will be laid out in a columna columnLayout; {…
hi, I have created this little window so I can easily assign material to it. It's creating a material but not assigning material to the object. window; frameLayout -label "jayant"; // add the other controls flowLayout -columnSpacing 7 -w 50 -h 50; // create six symbol buttons with related mel command symbolButton -w 40 -h…