it's more likely it just hasn't finished setting the material up before the next line runs. I don't do mel so can't really suggest a solution but if this were python i'd assign the created material to a variable and then act on the variable rather than making the assumption that the material exists. I assume mel can do the…
Turn on the history in the script editor (topmost 4 checkboxes) - turn it off when you do Art work. Run the manual command. Use the MEL-command whatIs to find out what things are Example: whatIs changeToolIcon // Result: Mel procedure found in: C:/Program Files/Autodesk/Maya2019/scripts/startup/changeToolIcon.mel // It's…
for a costum tool i need to toogle attributes of objects with checkBoxes. If multiple objects are selected i want my checkBoxes to be greyed out, just like in other applications. anybody got a clue how this works in maya/mel?
I use notePad++ with the mel language definition installed. It doesn't do autocomplete for mel but does code folding. https://www.highend3d.com/downloads/applications/syntax-scripting/c/mel-language-definition-for-notepad to get code folding to work I had to add { and } as folding options. Maya LT doesn't support python so…
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
how would i go about generating a array of view layers, that all have a certain prefix in MEL. trying to modify a script that exports the contents of my view layers to separate files, to only work on layers that are prefixed with "XN".