Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Run maya mel script using windows cmd prompt

0 REPLIES 0
Reply
Message 1 of 1
arthvaja
238 Views, 0 Replies

Run maya mel script using windows cmd prompt

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 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report