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
0
votes
1 answer

Message enricher and MEL

The message enricher documentation uses a term "variable" for example
Sudarshan
  • 8,574
  • 11
  • 52
  • 74
0
votes
1 answer

Using multiple MEL expressions in Set payload

Trying to wrap my head around MEL and so running through a few examples. I am trying to evaluate multiple MEL expressions as part of the Set Payload component and looks like only the last expression is evaluated by mule. My flow looks like the…
Sudarshan
  • 8,574
  • 11
  • 52
  • 74
0
votes
1 answer

Dynamic address for HTTP inbound endpoint Mule

I am trying to get dynamic address for my http inbound endpoint for SOAP service. Spring context has bean…
Pratik
  • 201
  • 5
  • 13
0
votes
1 answer

How to input text in the World up object / World up object 2 using MEL scripting

I want to input text in the World up object and World up object2. ('Enable twist control' for the ik handle in the attribute editor) I used : setAttr "Spine_ikHandle.stringWorldUpObject" -type "string" "Hip_joint" which does not work. What am i…
code_int
  • 11
  • 2
0
votes
2 answers

Which panel is associated with a particular camera? MEL

I know you can query which camera is associated with a particular panel. But, is there a way you can do it the other way around? I want to be able to see what panel is associate with a particular camera. Example: getPanel -q mainCamera; //…
por4por
  • 35
  • 6
0
votes
1 answer

Attach existing attached image plane to newly created Camera. MEL

Does anyone know how to attach an exisiting image plane to another camera? Then be able to delete the camera the image plane was initially connected to. Everytime i try, it deletes the image plane from both cameras. I have even tried disconnecting…
por4por
  • 35
  • 6
0
votes
1 answer

Catching a single coordinate value from a maya object

I am using python to write a Maya script and I would like to be able to get a single coordinate value from a Maya object or object component. In this case, I would like to retrieve only the y-coordinate value from a control vertex called…
Space9
  • 1
  • 2
0
votes
1 answer

Split maya render layers to files

I am trying to make a script in maya to export render layers to separate files. Though I am not clear on the logic to be applied for the script. I dont want any code just the procedure. Can anyone please help. Thanks in advance to all.
Gaurav
  • 21
  • 2
0
votes
1 answer

how to add selected object in string and use another time when objects are not selected for make selection again, in MEL

I want to add some selected controller of a character in a string and use this string for selecting the controllers again with a GUI button. Thanks.
user4665695
0
votes
1 answer

Maya Adding Numerical Compound attribute (non-API)

I've been looking around the internet for a solution but to no avail. I am currently trying to add a compound attribute that is index based (i.e. "object.attribute[0], object.attribute[1], object.attribute[2], etc...) similar to how vertex and uv…
0
votes
1 answer

how to save multi images by MEL command

I'm new to MEL script and working on dealing with batch render of massive files(over 10000) with MAYA, the basic prototype is like this: import maya.mel as mel import maya.cmds as…
Puffy
  • 30
  • 6
0
votes
2 answers

How to know the names of node attributes available? (Maya Python or MEL)

WHen i see code examples like this: xform ( '{mesh}.vtx[{vertex}]'.format(mesh = blabla , vertex = blabla...) ) I wonder ... how do i find which attributes does my "mesh" or whatever object i'm working on?. I see in the channel box that i have, for…
Darkgaze
  • 2,280
  • 6
  • 36
  • 59
0
votes
2 answers

how to run 2 mel script on startup from different sources

How to run Mel script on start up from different source, since i tried to use 2 paths in my maya.env to source script on start up, it only takes one first path and another path doesn't get activated. MAYA_SCRIPT_PATH =…
Ashwith Ullal
  • 263
  • 3
  • 10
0
votes
2 answers

Expression Component JSON parsing

I have 10 variables I need to set by parsing JSON payload like #[json:REQUEST_ID] etc. Can this be done thru an expression component all of the variables instead of using Set Variable one after the other. I am looking for how to parse a json payload…
hpandalai
  • 438
  • 2
  • 13
  • 31
0
votes
1 answer

MEL Expression Issues

I have defined a global function as below def…
hpandalai
  • 438
  • 2
  • 13
  • 31