Hi, like the title says, is it possible to enter multi select mode, then select some edges and some faces in the viewport, then in MEL somehow store the selected edges in variable1 and store the faces in variable2.
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 -sl`;…
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…