Run maya mel script using windows cmd prompt

Run maya mel script using windows cmd prompt

arthvaja
Participant Participant
549 Views
0 Replies
Message 1 of 1

Run maya mel script using windows cmd prompt

arthvaja
Participant
Participant

Hey there,

 

The mel script which I wrote imports the model, applies texture to the parts, then exports the model and closes the Maya program. I have added Maya to my computer's environment variable, and now I want to execute the mel script to automate the process.

 

Using the "-script" tag after the "maya" command in the cmd prompt will allow me to run the script according to the documentation, but I am unable to do so. 

 

What commands do I need to use in order to execute the mel script in Maya and automate the process using command prompt?

 

Please find the attached command prompt code reference image that I am using right now.

0 Likes
550 Views
0 Replies
Replies (0)