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[]…
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?…
So I feel dumb for forgetting most of the MEL scripting I learned in school when I want to do something as simple as creating a hotkey that can toggle between two commands. I basiclly want to be able to toggle between the mesh smooth effect in Maya on and off. So thats the low quality mode and high quality mode. Seems like…
I basically have zero scripting knowledge, but I want to make a simple MEL script that makes CryEngine exporting faster for me. Can anyone help me out with how I can achieve this? This should save a bunch of time since I export from Maya very often. In the following order I want to: 1. Select one or multiple objects…
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…
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…
was trying to install mirrorme.mel script in maya. http://www.cedric3d.com/dl/MirrorMe.mel but source mirrorMe.mel gives me error that no file can be found. I had 3 script subfolders (one under maya folder, another under maya--->2015-x64 folder, third under maya--->2015-x64--->prefs ) all under…
i'm looking to create a script ( if there isn't one out there already ?? ) that will average the length of a selection of edges. the practical application would be for creating belts and straps etc eg : layout your poly strips across a live surface make the necessary tweaks run the script to give the cross section a…
I wrote a little Mel script to handle toggling Camera based selection in marquee mode on or off. Anyone know what I need to add or do so that the script can just be called by using something like cbsToggle in the command line? Also is there any way to keep the code tag from removing certain portions of code?
Hey been working on a pivot tool for maya just so it makes it easier to put the pivot easier for common areas. I have that all up and running though where I'm running into a problem is putting the pivot on a selected vertex. I get the xform of the vertex but my problem is how would I split the selection array. Example:…