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?
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".
You can use it when you put the script in a .mel file in your maya\2024\prefs\scripts directory. And you can launch it with the Mel command: switchCam 1 The error I am getting: // Warning: float $minAngle = `angle $wupv <<1,0,0>>`; // Warning: Line 118.45 : Redeclaration of variable "$minAngle" shadows previous declaration…
Maya 2016I have a basic emitter and collision object, but my particles aregoing thru the collision object as well as bouncing off.Don't want them to go thru, only bounce off.Can anyone help??Here is the Mel code screenshot.
Hey guys I have been recently working on MEL scripting in maya but burst into a problem with ls -sl command. string $selectionList[] = 'ls -sl'; this gives syntax error. I tried a lot and searched through the net but every example is like that. I guess the reason is a foolish one but what can it be?
I'm fairly new to MEL so please bare with me. I'm trying to create a script that will create a polyCube with a spotLight after pressing a button, but each time you press the button in the menu it would create another copy of the two, but right beside it and not on top of the original. Basically creating a loop of the cube…
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
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