As far as I know, MEL seems to be flag based while what you seem to be looking for is event based (ie Actionscript) and even though there are scriptjobs, I took a look at the documentation and there was no flag for double click. Best bet would be to go the python route though Im just a beginner in MEL so maybe someone more…
Hey guys, I'm trying to give a name to each bend being created by a MEL script so it doesn't cause trouble with other bends in the scene. The script below basically takes a bandaid (the bandaid part and the two tabs on either side you pull off) and applies four bends to it so you can peel them away realistically. I've done…
Hello folks! I am building a quick tool in Maya 2015 where you can import 3d models into your viewport. the method works by creating snapshots of your model and create an obj of it. And then load the model by clicking its icon. I have found a way to create snapshots of your model and save it into disk. Now the problem is…
Here's a Mel I made to speed up initial UV creation. It automatically creates oriented UVs for the selected meshes and a UV layout for all the objects in the current selection on a single texture sheet. It cuts hard edges and uses the new Auto Seams command (Maya 2017 Update 4 or 2018) to create UV shells which it then…
I remember completing ME1, then doing ME1 again with all the opposite choices (but you could still level the same character further). So when it came to ME2 I had a guy who made all the choices I didn't want to make. Later on when I was set to play again on hardest difficulty I noticed there was a DLC which I'm sure was…
Hi I'm working on a small script so I could increase my workflow. Whole script is working but that last procedure bevel command is not working properly can you tell me how to fix it? ( polyBevel -fraction 0.2 -chamfer 0; ) Here I'm using fraction value 0.2 and chamfer is 0 but when I run the script it is using the maya…
I'm trying to select several objects and move any uv set not "map1" to map1 and delete the leftover, now unused, uv set. I pulled a mel script I found off another thread. However when you have multiple objects selected it errors on line 7 saying it "Doesn't work for muliple objects selected." I'm guessing it's a diff from…
Hi all, here my first post! I have this script that outputs FBX files from Maya to Unity, now, I see that in the manual interface for FBX export there is an option for Audio including... ...and I have found all other needed commands in the Maya help, but I am still searching for this one with no luck.. some relative…
Hi, Suppose I made a blue blinn color material through MEL. There is anyway when I again click on the button it's assigning the random color or changing the color of the material from blue to Pink, Red kind off? window;
Once again I have run into a bit of a wall Mel. I tried to write a script that get uv shells without having to select the uvs themselve one shell at a time. global proc string getUVShells() when running this script with few mesh selected. I get this Cannot cast data of type string[] to string. What I dont understand is…