So I read in another thread here in Technical Talk about a bundled software with Maya 2012 called QT Designer used for creating gui for Maya. I wanted to give this a go. I needed a script to begin with and decided to make a MEL script which would help and speed up the process of rendering images from Maya to later compose…
I do a lot of vertex painting in my workflow, and I’m trying to set up hotkeys for common actions. I’ve got pretty much everything set except one thing, which I can’t seem to figure out: switching between painting vertex | vertex face | face. There are three radio buttons in the Paint Vertex Colors tool settings to choose…
Hi all, So I'm writing up this script that I'll be officially releasing soon but I can't seem to get it to run with multiple objects selected. I get the error "// Warning: Line 3.49 : Redeclaration of variable "$shape" shadows previous declaration at line 2. Previous value will be overwritten by explicit initializer." was…
Hey Everyone, My work let me release this script that mel guru "Naughty Nathan" wrote for us awhile back. At the time there was nothing like this that I was aware of. I'm not sure if there is anything like it out there now, but I thought I would post it here just in case anyone wanted to use it. You can download it here.…
Hello. This MEL code is great to render when you have problems (unable) to select which frames to render, however is there any way to stop the render view to keep popping in each rendered frame? global proc renderIt() { global string $fileName; global int $end; global int $sta; setAttr -type "string"…
Im running into this issue and was wondering if anyone else had encountered it. Basically I have bit of mel script thats batch processing a load of maya files and writing data to text files. After around 180 files I get a warning saying Internal file descriptor table is full and the next time fopen is called after…
Is there a simple way of getting the new component IDs after performing any poly-edit action on a mesh via MEL? For example, after performing a "polyExtrudeFacet" on a specified mesh, how would you go about getting the component IDs of those new faces surrounding the extruded face?Or if you perform a "polyChamferVtx" how…
Hi, so I created this code which executes fine in the script edtior, it toggles the checker map on/off each time you run the script in the UV editor. //This works fine int $uvToggleChecker = !$uvToggleChecker; if ($uvToggleChecker == 1) { print ("UV checker map turned on."); } else if ($uvToggleChecker == 0) { print ("UV…
Hello awesome polycount folks, I'm currently digging into more advanced rigging techniques, just started scritping and I've a probably easy mel scripting question. I want to have a single Enum attribute "slider" that changes the translation of an object (to later on snap locators to each others and switch through different…
hey there, I'm back again with another problem I'm having which I cannot find an answer for on the Internet so I need your help again.. I'm trying to create a little script to help me creating simple symetrical objects by creating a mirrored base object. But I'm stuck on not being able to select certain edges to do…