Questions tagged [mel]

MEL is the Maya Embedded Language used to automate processes in the 3D Computer Animation and Modeling software, "Maya".

MEL stands for Maya Embedded Language, which is a scripting language similar to Perl. It can be used to create automated processes in Autodesks's 3D rendering application Maya.

More information can be found in the Wiki about MEL.

417 questions
2
votes
2 answers

How to execute a Maya MEL procedure at regular intervals

I would like one of my Maya MEL procedures to be executed every x seconds. Is there any way to do that ?
Laurent Crivello
  • 3,809
  • 6
  • 45
  • 89
2
votes
1 answer

MULE: How to use CDATA in MEL

Please help me on this error.I have captured original payload through session variable in mainflow.In case of error scenario's, I have another subflow, where i have used Message Property Transformer and XSLT transformer. So when i try to put …
star
  • 1,493
  • 1
  • 28
  • 61
2
votes
0 answers

Maya API - Move CV with Kinect

I’m trying to create a 64-bit plug-in for Autodesk Maya 2013. The aim of this plug-in is to be able to model objects through the Kinect. In context, with the plug-in you can select the CV of a created object. To specify you want to move the selected…
matiasfcf
  • 21
  • 1
2
votes
1 answer

How do I attach a MEL UI to Maya's UV Texture Editor?

I do know how to create a MEL UI window and add content to it. I don't know how to "pin" that UI to a Maya window such as the UV Texture Editor. Ideally I would like to have the ability to control which side of the UV Texture Editor my UI attaches…
John
1
vote
1 answer

PyQt and Maya, with threading = False?

I've been investigating this problem for 3 days now, without any luck. I'm quite new to all this so maybe there is something I'm missing. The problem applies to: Maya.cmds, PyMel and evaluated MEL using QThread or just Thread This code is designed…
Cwista
  • 361
  • 1
  • 11
1
vote
2 answers

For the extreme newbie, how do I have a background image for my ui in QT creator

I am trying to build UIs in QT Creator that look like my UIs in MEL but I am having a hard time since I don't know C++ and I am very new to QT Creator. I read something about changing style sheets but I never got the resource root to work. I looked…
user1087058
  • 349
  • 1
  • 3
  • 5
1
vote
0 answers

Disable collection with python or mel

I am creating render layers through python for Maya 2022's render setup and cannot find any documentation to disable a collection inside a render layer using python or mel. Basic code below. Any help would be greatly appreciated Craig `rs =…
CKane
  • 13
  • 6
1
vote
0 answers

Mel Spectogram normalization for training neural network for singing voice synthesis

What are the recommended mel-spectogram normalization techniques for training a neural network aimed at singing voice synthesis? My configuration settings are n_fft= 2048, hop_length= 512, n_mels = 80 I have implemented normalization using the…
1
vote
1 answer

Maya – Convert regular camera to "camera and aim group"

I want to convert a normal moving camera to a camera and aim group. How can I do it? Using API, matrix, etc? Is there a formula? Thank you very much!
Ben.Zh
  • 11
  • 1
1
vote
0 answers

AutoDesk Maya MEL - iPhone Facecap transfer issue

I am trying to copy facial motion data, head rotation specifically, gathered through an app called FaceCap via iPhone and transfer to Maya models. I've gotten the data to successfully transfer but... the rotation is an exact mirror of original…
1
vote
1 answer

How would i make a small script from Mel that controls mesh is selectable or not, and i can i do a same thing in python?

I trying to make a script using Mel that uses setObjectPickMask so tried doing this code if (ObjectPickMask "Surface" == true) { setObjectPickMask "Surface" false; updateObjectSelectionMasks; updateComponentSelectionMasks; dR_selTypeChanged(""); …
BlazeZ__
  • 11
  • 2
1
vote
1 answer

How to bind size and location of the mesh to the joint

I' m fairly new to programming and lack the knowledge to solve the following task. global proc assign() { select -hierarchy; //select all objects in hierarchy string $jointsHirearchy[]=`ls -sl`; //save objects to array for ($each…
Andrii
  • 19
  • 2
  • 9
1
vote
0 answers

Maya – Strokes on Live Mesh

I searched for tutorials on how to achieve that effect that I can draw strokes onto live surfaces via API like that: Also, I looked up to search for examples inside the "devkit" that Maya offers, the hint got was I have to use the class…
Ben jamin
  • 946
  • 1
  • 6
  • 18
1
vote
0 answers

Maya's Render.exe: preRender and postRender flags generating errors

I'm generating .bat and .sh scripts to launch Maya's batch render for many scenes (I use the AMD FireRender as a renderer). cmds.append('''"{tool}" -log "{log_path}" -proj "{project}" -r FireRender -devc "{render_device}" -rd "{result_dir}" -im…
1
vote
0 answers

Add menubar to VFB window - maya 2018

I'm editing "vrayVFBPanel.mel", to add "menubar" above it. how do you get "menubar" to appear in vrayVFBPanel? vrayVFBPanel.mel When the script runs, 2 windows appear, and the menubar does not appear above it. maya window
Wongselent
  • 31
  • 3