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

How do I execute MEL script without lauching Maya?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
549 Views, 2 Replies

How do I execute MEL script without lauching Maya?

Hi everyone,

 

I want to launch a very simple script that creates a poly cube, export it to .stl or .fbx from the command line. 

I have followed Start-Maya-from-the-command-line but Maya is always launched and it does not execute any script line !

 

I can do it in Python by using the Maya standalone module but it cannot handle exporting to other formats than .ma apparently

 

Thanks in advance !

Tags (2)
2 REPLIES 2
Message 2 of 3
rflannery
in reply to: Anonymous

When trying to do this in Python using maya.standalone, did you make sure that the "fbxmaya" plugin was loaded?

Message 3 of 3
Anonymous
in reply to: rflannery

Indeed, the plugin has to be loaded in standalone mode. 

Thanks very much ! 

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

Post to forums  

Autodesk Design & Make Report