I'm trying to create a one-click export for FBX using the scripting commands listed here: http://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=GUID-76CF67F4-BBBB-48C6-AE48-6EF6975CB870 I have this block of MEL : <div>//units settings </div><div> FBXExportScaleFactor 1.0 ; </div><div> FBXProperty…
I am trying to teach myself how to script with Maya. I am starting with MEL and I am having problems with a more complex situation. I am trying to select all objects and delete them from the scene except for two objects that can be found on every scene. Those two objects can be found together on the same scene or…
Hey Guys, I am currently trying to get a few contextual hotkey scripts running after some inspiration from this forum (see perna 3ds max Hotkey topics). The System behind Maya and Mel in general is really difficult for me to wrap my head around though. Currently I have a hotkey script that will enable the normal point snap…
Hi, In my #MEL command browse button is not working I'm getting an error // Error: line 56: Object 'rsTxtPath' not found. ANY IDEA? proc ScreenCaptureWin() { global string $rsTxtPath, $rsTxtName; string $sn = `file -q -sn`; string $cfp = `dirname( $sn )`; if (`window -exists ScreenCapture`) //closes window if already open…
As far as I'm aware, most UI elements in Maya can be added in custom UI windows.For example, you can create windows with a scene's viewport ("modelEditor"), blend shape editor ("blendShapeEditor") and the node editor ("nodeEditor"). You can arrange them however you want and as many as you want. But so far I haven't managed…
Hello everyone, I'm trying to learn MEL scripting coming from a background of Unity C#. Currently I'm working on a script that moves all selected vertices to 0 on the x-axis. I borrowed this script from another forum but it doesn't seem to work when the object has moved: string $verts[] = `ls -sl -fl`;<br> for($vert in…
Congrats on your first(?) script! I know what you've gone through - I've been where you are myself: looking at the Maya UV editor and realize just how limited it is. Relative transforms on multi-shell selections is just one thing out of many that is missing. I disagree though that the information is hard to find. I would…
Hi guys, I'm a 3d artist starting a Normandy SR1 remake (interiors) for my portfolio, using Unreal Engine 4 and targeting "next gen" specs aka PC/PS4/X1. Basically make it as top quality as possible, the "ultimate" Normandy. I'm undecided on the visual direction of the project, and this is where I'm asking for your…
Hi polycounters ! 0/ Since a few hours (maybe more) I'm trying to learn and make a custom tool for Maya and my workflow. I have already programmed in C++ in the past, so the Mel language is not so hard to understand for me. The hard part is to find the name of the various function inside maya, but even with that, I still…
Hi everyone! I'm currently learning how to use MEL to automate some repetitive tasks in my rigging/animation workflow and I've run into a problem. I thought I'd post my script here to see if anyone can point me in the right direction. Basically, this script is designed to create blendshapes for clothing and accessories to…