Hi I'm trying to use some MEL code to orient a EP curve control to a joint and while it puts the control in the correct orientation it offsets the control away from the joint. Why does this happen? The code is below: ___________________________________________________________________________________________ { string $sel[]…
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.
I'm trying to create a script that will take a random selection of objects, and organize them into 3 "piles" it should be fairly simple, and I'm sure I'm just about there... but when I try to execute it I get an error message, it reads: "//Error: No object matches name: " Anyone have an idea what's wrong? This is only my…
Eh all, So, my knowledge with mel scripting is very limited but I figured out the basics of the script at the bottom of this link http://ndhaussy.free.fr/maya_object_spreading/ where Nicolas shows how to spread using constraints. So I type the command spreadObjectsOnSurface ("objectB", "objectA", 20) and it works as…
Hey, JKMakowka; thanks for the reply! The chest and head pieces are the only parts of the model that have multiple UV shells, however, you're right that they can be optimized more. All UV shells are aligned with the defining edges and flow of action of each piece (i.e. the leg UVs are aligned to the axes of the legs).…
So I am almost done with my character. I want to make a really good rig to pose an animate him well, but Ive hit a snag right out of the gate. My skeleton is how I want it, lining up with his feet. But when I apply an Ik handle this happens. The joint chain straightens out and the "ankle" is no longer planted on the…
I have a piece of clothing. I have some medium and small details sculpted on it in Zbrush. I also want fine fabric details on top of all. The easiest way would be to add them in Zbrush with the Surface noise and export just one single displacement map. However, my height map is too fine to read well with the surface noise.…
Do you want to merge by layer? How about selection set or object id, material name? http://cganimator.com/csmergeby-powered-by-3dsmax-2019-custom-scene-file-data-stream/ https://vimeo.com/268536821
Hey everyone, I've been teaching myself MEL scripting but I'm sort of stuck on a particular syntax. I've searched all over for my specific problem but I'm not sure which key words I should be searching for and can't find anything, so thank you in advance to anyone who can help. I have a button setup with a command within…
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.