Hi, I'm just trying to create a blinn material in which it has the attached 2D texture. I got some mel line but it seems like they are not connecting to the blinn material. Here is the command so far string $myBlinn = `shadingNode -asShader blinn`;hyperShade -assign $myBlinn;string $selection[] = `ls…
Hi I want to create a button for blinn material using MEL. As you can see in the image. Just I want to add only blinn material rest off them I will create it by myself. Thanks
Hey everyone, I've been teaching myself MEL scripting but I'm sort of stuck on a particular syntax. I've searched all over for my specific problem but I'm not sure which key words I should be searching for and can't find anything, so thank you in advance to anyone who can help. I have a button setup with a command within…
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…
I'm trying to write a Mel script to set all Display layers with "LPL in it's name to visible. Display layers seems to have very bad documentation and I cant find anything. I've got many many layers and switching each one on one by muda-nuckin one is getting bothersome. Any help is much appreciated. :) Till then I shall be…
Hi, Suppose I have created quick select set in outliner. How can I remove it through #MEL? I tried but couldn't figured it out. Any help? Found this page but these commands are not working for me. https://download.autodesk.com/us/maya/2011help/Commands/sets.html
Is their a way to make a scriptjob in mel activate every time the cursor is over a different component? I thought it had an event for this but I'm not seeing it now. Just want to put together a simple raycast selection script sense afaik Maya only has brush based paint selection available by default.
Hello awesome polycount folks, I'm currently digging into more advanced rigging techniques, just started scritping and I've a probably easy mel scripting question. I want to have a single Enum attribute "slider" that changes the translation of an object (to later on snap locators to each others and switch through different…