Hey there, I'm trying to write a simple script in MEL, at least I hope it's simple, to select a series of joints, toggle select the translate and rotate attributes from the channel box, and then bake simulation (because I want the simulation to only bake those attributes). Does anyone know how to grab those attributes from…
I thought this would be easy, but I was totally wrong. Is there a way to get a ring of faces in mel, I figured out how to get an edge ring, but not a face ring. Pickwalk can do it, but that requires the user to select two faces where I only want the user to have to select one.
I'm trying to make some selection shelf buttons, specifically for selecting limbs, or fingers or the like... by clicking on a control object and have the active selection extend to include the hierarchy. e.g. clicking on the wrist might select metacarpals and all the fingers. clicking on the knuckle would select the…
Hi I was just messing with the Maya MEL script and somehow I created a small script for my workflow but there is one error. I don't to where to paste this line if ( `window -exists nameWindow` ) { deleteUI nameWindow; } HERE IS MY SCRIPT.......... // create a window with a menu bar window -title "3DGhost" -menuBar true -w…
Nej det väljer vi efterhand som vi pluggar, något som man bestämer i tvåan eller senare tror jag. Ja det stämmer det va lite andra tider där, kom in på Skövde också men eftersom TGA va mitt förstahands val så bestämde jag mig för att tacka nej. Känner en hel del folk so har pluggat på Skövde. Det e en bra skola, aningen…
Hi there! I recently changed studio and forgot to copy a script for shell selection in maya! (similar to "5" element selection in 3ds max) I had a quick .mel to assign that to a hotkey, but not now. If anyone use a hotkey script for this and can help me, that'll be great. cheers -Manu
Hey there. Begginer question. Is it possible in MEL to convert string text back to variable name. Here is rough example: $x=smoothstep(0,30,frame);
$y=smoothstep(50,60,frame);
$a=$x*$y;
//down the script i have this:
string $a="$x*$y"; Can i convert it back from string variable to $a=$x*$y; consisting corresponding values…
I wondered if there is a feature or plugin for Maya that gives you a smart guide like in Adobe Illustrator, because I figured that my main source of bad geometry is that I accidentally move vertices that are supposed to be in line with others. It is just really annoying to clean up afterwards and although I guess it's not…
Yeah, I think I've reached the end of my usefulness here. I tend to avoid MEL like the plague, and I don't have a copy of Maya at home, so I wouldn't be able to tinker with this. The only thing that I can offer is you should be using something like an else if or elif (not sure what the syntax is in MEL) to make sure that…
I was wondering if anyone could help with automating the batch rendering of multiple camera and render presets. We have sets of presets for each isometric direction. up, up/right, right, etc... Could we create a .MEL script which would automatically change each preset for the camera and render settings and batch render it?…